Debug
This commit is contained in:
parent
d99fc891b4
commit
f843f294c9
|
@ -249,6 +249,7 @@ class VMInstance:
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
print('got there')
|
print('got there')
|
||||||
|
print(running)
|
||||||
# VM should be stopped
|
# VM should be stopped
|
||||||
if running == libvirt.VIR_DOMAIN_RUNNING and self.state == "stop" and self.hypervisor == self.thishypervisor.name:
|
if running == libvirt.VIR_DOMAIN_RUNNING and self.state == "stop" and self.hypervisor == self.thishypervisor.name:
|
||||||
self.stop_vm()
|
self.stop_vm()
|
||||||
|
|
Loading…
Reference in New Issue