[virt-tools-list] RHEL 6 VMs don't reboot at the end of the OS install

Richard W.M. Jones rjones at redhat.com
Sun Mar 16 20:53:30 UTC 2014

On Sun, Mar 16, 2014 at 04:26:57PM -0400, Cole Robinson wrote:
> On 03/16/2014 02:08 PM, Digimer wrote:
> > Hi all,
> > 
> >   When I install most VMs, like any Windows guest, the VM will reboot after
> > the first stage of the install is done. I see in 'virt-install' that there is
> > a '--noreboot' option to stop this.
> > 
> >   My issue is the opposite... When I click on "reboot" at the end of
> > installing RHEL 6 (or CentOS 6), the guest stays off. Is this a known issue or
> > bug? Is there a way to tell the VM to always reboot after the first stage of
> > the OS install is done?

I noticed this too, and yes it's a bug.

> > Thanks!
> > 
> > PS - Host is RHEL 6.5, installed using virt-install. Everything stock RHEL RPMs.
> > 
> Something similar was reported here not too long ago:
> https://www.redhat.com/archives/virt-tools-list/2014-January/msg00088.html
> anaconda should be requesting a shutdown at the end of install, if it's not
> going through it's either a RHEL6 kernel/init/anaconda bug or a qemu issue.
> I'd recommend filing a RHEL6 bug against qemu. Provide the virt-install
> command line with --debug output, and the qemu command from
> /var/log/libvirt/qemu/$vmname.log

It might also be useful to go the shell window in Anaconda in the
guest (by pressing Alt + F2, I think?) and look to see if there are
any messages in 'dmesg', or in any of the log files in /tmp.


Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org

More information about the virt-tools-list mailing list