[one-users] cannot use a iso based cdrom in vmware

Carlos A. caralla at upv.es
Tue May 17 04:04:29 PDT 2011


A template like this

-----------cut here-------------------

NAME = vm-vmware

VCPU    = 1
MEMORY = 512
OS = [ ARCH = "i686" ]

DISK = [
         source = "/tmp/iso" ,
         target="hda",
         bus="ide",
         type="cdrom"
]

-----------cut here-------------------

generates a deployment file like this one

-----------cut here-------------------

<domain type='vmware'>
<name>one-559</name>
<vcpu>1</vcpu>
<memory>524288</memory>
<os>
<type arch='i686'>hvm</type>
</os>
<devices>
<disk type='file' device='cdrom'>
<source file='/tmp/iso'/>
<target dev='hda' bus='ide'/>
<driver name='raw'/>
</disk>
</devices>
</domain>

-----------cut here-------------------

The problem is the line that states <source file='/tmp/iso'/> while it 
should state <source file='[datastore] path/to/iso'/> or something like 
that.

I found that file "LibVirtDriverVMware.cc" does not generate the proper 
datastore substitution, although ISO file is copied.

Is there any way to make isos work in vmware?

Regards




More information about the Users mailing list