Hi there,

I tried to create a template to boot from cdrom.
NAME =gparted
CPU = 0.5 
vCPU = 1 
MEMORY = 1024
OS = [ boot="cdrom" ]
DISK = [
    source="<image file>",
    target="vda",
    bus = "virtio",
    readonly="no" ]

DISK = [
    source="/vrstorm/cloudadmin/gparted-live-0.4.6-1.iso",
    type="cdrom",
    target="hdc",
    bus = "ide",
    clone="no",
    readonly="yes" ]
...

However, the resulting VM does not work as expected since the libvirt XML file 
still uses 
<disk type='file' device='disk'>
                        <source 
file='/vrstorm/cloudadmin/one/var/1037/images/disk.1'/>
                        <target dev='hdc' bus='ide'/>
                        <readonly/>
                </disk>
While the first line should use device='cdrom'.

Is this a bug? I think it used to work fine.

Thanks.
Shi
--
Shi Jin, PhD


      
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to