Do not add new vm to xen storage in qvm-create - it is done by core

This commit is contained in:
Marek Marczykowski 2011-03-15 18:51:31 +01:00
parent 14c48f5253
commit 63b06516b7

View File

@ -129,7 +129,6 @@ def main():
vm = qvm_collection.add_new_appvm(vmname, template_vm, label = label)
try:
vm.create_on_disk(verbose=options.verbose)
vm.add_to_xen_storage()
except (IOError, OSError) as err:
print "ERROR: {0}".format(err)