fix good destination vm parameter
This commit is contained in:
parent
a11396af41
commit
55c92f0025
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user