Created attachment 927825 [details]
screenhost boot options
Description of problem:
Installing a VM with the Second Boot device CDROM. After installation, I choose reboot in the VM and the installer of the CDROM appears again even though I have the HDD as first boot device.
When I power down the VM, don't change anything, and power it up again. It does start from the local HDD
the issue is in add disk that cause the boot order to be wrong (order is calculated before the disk is added).
looks like this affects vms created from blank (or other diskless) template and the disk is added afterwards.
a workaround is to first create the vm and the disk,
and only after that, edit the vm and choose the wanted boot options, this will cause the boot order to be re-calculated, taking into account also the disk.
Verified in 22.214.171.124-0.0.master.20141009085636.el6
oVirt 3.5 has been released and should include the fix for this issue.