diff --git a/libtisbackup/copy_vm_xcp.py b/libtisbackup/copy_vm_xcp.py index bf9f102..5e65f89 100755 --- a/libtisbackup/copy_vm_xcp.py +++ b/libtisbackup/copy_vm_xcp.py @@ -229,6 +229,10 @@ class copy_vm_xcp(backup_generic): result = (0,size_backup) if self.delete_snapshot == 'no': return result + + #Disable automatic boot + if session.xenapi.VM.get_other_config(vm).has_key('auto_poweron'): + session.xenapi.VM.remove_from_other_config(vm, "auto_poweron") if not str2bool(self.halt_vm): #delete the snapshot diff --git a/templates/layout.html b/templates/layout.html index cd4b815..933c259 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -97,6 +97,5 @@ configs(); - + - \ No newline at end of file