[one-users] Boot from CDROM problem

Shi Jin jinzishuai at yahoo.com
Thu Sep 16 07:56:16 PDT 2010


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


      


More information about the Users mailing list