Set into stop after successful shutdown

This commit is contained in:
Joshua Boniface 2018-06-02 19:14:10 -04:00
parent ef6b984296
commit b577ad1771
1 changed files with 2 additions and 0 deletions

View File

@ -80,6 +80,7 @@ class VMInstance:
except ValueError:
pass
self.zk.set(self.zkey + '/state', 'stop'.encode('ascii'))
self.dom = None
self.instop = False
@ -107,6 +108,7 @@ class VMInstance:
except ValueError:
pass
self.zk.set(self.zkey + '/state', 'stop'.encode('ascii'))
self.dom = None
self.inshutdown = False