Set into stop after successful shutdown
This commit is contained in:
parent
ef6b984296
commit
b577ad1771
|
@ -80,6 +80,7 @@ class VMInstance:
|
||||||
except ValueError:
|
except ValueError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
self.zk.set(self.zkey + '/state', 'stop'.encode('ascii'))
|
||||||
self.dom = None
|
self.dom = None
|
||||||
self.instop = False
|
self.instop = False
|
||||||
|
|
||||||
|
@ -107,6 +108,7 @@ class VMInstance:
|
||||||
except ValueError:
|
except ValueError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
self.zk.set(self.zkey + '/state', 'stop'.encode('ascii'))
|
||||||
self.dom = None
|
self.dom = None
|
||||||
self.inshutdown = False
|
self.inshutdown = False
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue