David Mueller
2007-Aug-30 20:19 UTC
[Fedora-xen] Possible to skip reboot with virt-install?
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
Daniel P. Berrange
2007-Aug-31 16:19 UTC
Re: [Fedora-xen] Possible to skip reboot with virt-install?
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. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|