This commit is contained in:
Joshua Boniface 2018-06-11 21:52:33 -04:00
parent d99fc891b4
commit f843f294c9
1 changed files with 1 additions and 0 deletions

View File

@ -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()