[Users] API usage - 3.1

Tom Brown tom at ng23.net
Fri Jan 11 11:27:03 EST 2013


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?

thanks


More information about the Users mailing list