From b577ad1771e4fb9cef15cbfc0d48e7a462e72a10 Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Sat, 2 Jun 2018 19:14:10 -0400 Subject: [PATCH] Set into stop after successful shutdown --- VMInstance.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/VMInstance.py b/VMInstance.py index a63ecb39..44c45e8d 100644 --- a/VMInstance.py +++ b/VMInstance.py @@ -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