[virt-tools-list] create VM windows with virt-install 0.500.2
David Cure
David.Cure at Linux.EU.Org
Fri Mar 19 10:21:52 UTC 2010
hello,
I upgrade my virt-install tools to version 0.500.2 and now I get
an error message when I want to create VM for windows (no problem for
Debian Lenny VM) :
Traceback (most recent call last):
File "/usr/bin/virt-install", line 972, in <module>
main()
File "/usr/bin/virt-install", line 782, in main
continue_inst = guest.get_continue_inst()
File "/usr/lib/pymodules/python2.5/virtinst/Guest.py", line 807, in
get_continue_inst
if not self.get_config_xml(install=True):
File "/usr/lib/pymodules/python2.5/virtinst/Guest.py", line 776, in
get_config_xml
xml = add("%s" % self._get_device_xml(install))
File "/usr/lib/pymodules/python2.5/virtinst/FullVirtGuest.py", line
94, in _get_device_xml
return (emu_xml + Guest._get_device_xml(self, install))
File "/usr/lib/pymodules/python2.5/virtinst/Guest.py", line 641, in
_get_device_xml
xml = _util.xml_append(xml, dev.get_xml_config())
File "/usr/lib/pymodules/python2.5/virtinst/VirtualDisk.py", line
1120, in get_xml_config
raise ValueError(_("'disknode' or self.target must be set!"))
ValueError: 'disknode' or self.target must be set!
I use this command to create the VM :
virt-install --connect qemu:///system -n dc -r 512 --vcpus=1 -c
/Iso/win2k3std_64bits.iso --vnc --noautoconsole --os-type windows
--os-variant win2k3 --accelerate --network=bridge:br1 --hvm -k fr --disk
path=/dev/vg-fr-kvm05/lv-dc
This command works fine with 0.500.0.
I use virt-install on Debian Lenny.
David.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20100319/bd5ffe1a/attachment.sig>
More information about the virt-tools-list
mailing list