dom0/qvm-clone-template: *_xen_storage call once again... (#291)

This commit is contained in:
Marek Marczykowski 2011-07-21 00:44:34 +02:00
parent 6fc8d1b811
commit 1b093d5cc4

View File

@ -58,12 +58,6 @@ def main():
try:
dst_tvm.clone_disk_files (src_template_vm=src_tvm, verbose=options.verbose)
if options.verbose:
print "--> Adding to Xen Storage..."
dst_tvm.add_to_xen_storage()
except (IOError, OSError) as err:
print "ERROR: {0}".format(err)
qvm_collection.pop(dst_tvm.qid)