From 55c92f0025cdcd8e19170ad97697c474fd942ec6 Mon Sep 17 00:00:00 2001 From: ssamson-tis Date: Fri, 16 Oct 2015 17:50:05 +0200 Subject: [PATCH] fix good destination vm parameter --- libtisbackup/copy_vm_xcp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libtisbackup/copy_vm_xcp.py b/libtisbackup/copy_vm_xcp.py index 5e65f89..3f96b91 100755 --- a/libtisbackup/copy_vm_xcp.py +++ b/libtisbackup/copy_vm_xcp.py @@ -231,8 +231,8 @@ class copy_vm_xcp(backup_generic): 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 session.xenapi.VM.get_other_config(backup_vm).has_key('auto_poweron'): + session.xenapi.VM.remove_from_other_config(backup_vm, "auto_poweron") if not str2bool(self.halt_vm): #delete the snapshot