fix good destination vm parameter

This commit is contained in:
ssamson-tis 2015-10-16 17:50:05 +02:00
parent a11396af41
commit 55c92f0025

View File

@ -231,8 +231,8 @@ class copy_vm_xcp(backup_generic):
return result return result
#Disable automatic boot #Disable automatic boot
if session.xenapi.VM.get_other_config(vm).has_key('auto_poweron'): if session.xenapi.VM.get_other_config(backup_vm).has_key('auto_poweron'):
session.xenapi.VM.remove_from_other_config(vm, "auto_poweron") session.xenapi.VM.remove_from_other_config(backup_vm, "auto_poweron")
if not str2bool(self.halt_vm): if not str2bool(self.halt_vm):
#delete the snapshot #delete the snapshot