public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Freddie Cash <fjwcash@gmail.com>
To: kvm@vger.kernel.org
Subject: Re: New version of my kvmctl script
Date: Mon, 2 Jun 2008 11:11:58 -0700	[thread overview]
Message-ID: <200806021111.59207.fjwcash@gmail.com> (raw)
In-Reply-To: <6e10be650806021029o29c0346dp6886312cb10fdf0b@mail.gmail.com>

On June 2, 2008 10:29 am you wrote:
> For some reason I couldn't reply to my previous post...
>
> But here is a new version. Now with version number! :)
>
> Changes:
> - includes init script /etc/initd.d/kvm which starts and stops virtual
> machines when booting and shutting down the host. Shutting down the
> guest is done by sending "system_powerdown" to the guest. If the guest
> doesn't powerdown in 120 seconds (adjustable) it will be killed.

You should rename the init script.  At least on Debian systems, there's 
already an /etc/init.d/kvm script that auto-loads the kvm modules.

> - kvmctl can set vm to start or not to start during boot (kvmctl
> vmname onboot yes|no). Without yes/no script shows whether VM is
> started on boot or not.

You may want to rename the script.  There's already a kvmctl (at least on 
Debian) in the /usr/sbin directory that is used for testing.

I ran into this issue when I named my management script kvmctl, 
and /usr/sbin is ahead of /usr/local/sbin in the default PATH.

-- 
Freddie Cash
fjwcash@gmail.com

  reply	other threads:[~2008-06-02 18:12 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-02 17:29 New version of my kvmctl script FinnTux N/A
2008-06-02 18:11 ` Freddie Cash [this message]
2008-06-02 18:20   ` FinnTux N/A
2008-06-02 18:36     ` FinnTux N/A
2008-06-02 18:37     ` Freddie Cash
2008-06-02 23:02       ` Javier Guerra
2008-06-03 17:05         ` Javier Guerra
2008-06-04  9:41       ` Thomas Besser
2008-06-04 10:38       ` Avi Kivity
     [not found]     ` <4863A487.5080706@tmr.com>
2008-07-24 19:57       ` FinnTux
2008-09-07 21:41         ` FinnTux
2008-09-07 21:51           ` FinnTux
2008-09-10 14:04             ` Marshal Newrock
2009-01-20 18:20               ` FinnTux
2008-06-04  9:36 ` Thomas Besser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200806021111.59207.fjwcash@gmail.com \
    --to=fjwcash@gmail.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox