Is it possible to tell virt-install to skip the reboot it does after completing the OS install to a guest? I'm writing some shell scripts to automate creating and running of virtual machines, and the reboot after the install is just slowing things down as I have to wait for it to boot up, then shut it down before I can continue.
I'm using a customized Fedora 7 installer creating using Revisor and a kickstart file, so if it's a change I need to do there (thinking perhaps that the command to restart rather than shut down is coming from the guest) I can. I noticed that using virt-manager, when the install finished and I hit restart, the guest simply shut down.
- David
On Thu, Aug 30, 2007 at 01:19:34PM -0700, David Mueller wrote:
Is it possible to tell virt-install to skip the reboot it does after completing the OS install to a guest? I'm writing some shell scripts to automate creating and running of virtual machines, and the reboot after the install is just slowing things down as I have to wait for it to boot up, then shut it down before I can continue.
I'm using a customized Fedora 7 installer creating using Revisor and a kickstart file, so if it's a change I need to do there (thinking perhaps that the command to restart rather than shut down is coming from the guest) I can. I noticed that using virt-manager, when the install finished and I hit restart, the guest simply shut down.
This capability was supposed to be included in the 0.300.0 release, adding a --noreboot flag. But we screwed up and forgot to push the changeset in question to the upstream repo. I'll add it as a patch to the next Fedora RPM we release.
Dan.
xen@lists.stg.fedoraproject.org