diff --git a/VMInstance.py b/VMInstance.py index 7e5e5efa..f2905f28 100644 --- a/VMInstance.py +++ b/VMInstance.py @@ -109,7 +109,8 @@ class VMInstance: if dest_conn == None: raise except: - print('>>> Failed to open connection to qemu+ssh://%s/system' % target) + print('>>> Failed to open connection to qemu+ssh://%s/system' % self.hypervisor) + self.zk.set(self.zkey + '/hypervisor', self.thishypervisor.name.encode('ascii')) self.zk.set(self.zkey + '/state', 'start'.encode('ascii')) return