[ovirt-users] vm install via iso - optical drive eject behaviour?

Omer Frenkel ofrenkel at redhat.com
Wed Aug 20 09:21:09 UTC 2014



----- Original Message -----
> From: "Paul Jansen" <vlaero at yahoo.com.au>
> To: "users" <users at ovirt.org>
> Sent: Tuesday, August 19, 2014 2:25:41 PM
> Subject: [ovirt-users] vm install via iso - optical drive eject behaviour?
> 
> Hello.
> I currently have oVirt 3.4.x set up.
> A colleague mentioned that he was having an issue where booting a VM with an
> attached iso and installing via cd/dvd does not allow the contents of the
> 'drive' to eject after the install. Sure enough, I have tested this myself
> and observed the same behaviour.
> Installing an EL/fedora iso image with a kickstart that has a 'reboot
> --eject' line in will eject the 'drive' after the installing when doing the
> exact same thing on VMware ESXi (and 'real' hardware).
> A suggestion was made that VMware emulates a laptop style optical drive that
> once the disk ejects the system cannot close the drive bay upon reboot -
> this is a manual operation.
> Does oVirt emulate a destop style drive where even if the disk is ejected,
> when a reboot occurs the drive will close?
> 
> The long an short of this that even though the 'reboot --eject' option is in
> the kickstart, the iso image seems be be reattached when the VM reboots and
> the installs process starts again. An infinite loop effectively.
> 
> I'm told this isn't an issue with an KVM/Qemu VM under virt-manager.
> 
> Any suggestions as to how to solve this?
> I should point out that I cannot simply extract files and boot via PXE as
> this process is supposed to be testing an install process via generated
> media.
> 
> Thanks.

there is an open RFE for detecting the reboot and eject the cd in run once.

until that, what i do is: (assuming the HD doesn't have anything bootable on it)
edit the vm, 
select in 'boot options':
 first device- hard disk,
 second device-CD and select the CD file you want to use.

start the vm regularly (not run once)

> 
> 
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 



More information about the Users mailing list