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

This reverts commit 72ddb5aae1.
This commit is contained in:
Marek Marczykowski 2011-03-16 11:44:25 +01:00
parent d89c2fd37c
commit 5e2dd1c6ce

View File

@ -129,6 +129,7 @@ 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)