
Hi Tom,
-------- Original Message -------- Subject: [Users] API usage - 3.1 Date: Fri, 11 Jan 2013 16:27:03 +0000 From: Tom Brown <tom@ng23.net> To: users <users@ovirt.org>
Trying to get going adding VM's via the API and so far have managed to get quite far - I am however facing this
vm_template = """<vm> <name>%s</name> <cluster> <name>Default</name> </cluster> <template> <name>Blank</name> </template> <vm_type>server</vm_type> <memory>536870912</memory> <os> <boot dev="hd"/> </os> </vm>"""
The VM is created but the type ends up being a desktop and not a server -
What did i do wrong?
the name of the element is <type> (not <vm_type>).
thanks _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Michael Pasternak RedHat, ENG-Virtualization R&D