[elbe-devel] [PATCH 04/10] initvmaction: define InitVMAction.conn attribute

Torben Hohn torben.hohn at linutronix.de
Thu Apr 1 13:15:26 CEST 2021


prepare to handle looping until a connection is available

Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
---
 elbepack/initvmaction.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/elbepack/initvmaction.py b/elbepack/initvmaction.py
index 2e09df27e..ed5f38c7f 100644
--- a/elbepack/initvmaction.py
+++ b/elbepack/initvmaction.py
@@ -72,7 +72,9 @@ class InitVMAction:
     def __init__(self, node, initvmNeeded=True):
 
         self.initvm = None
-        self.node   = node
+        self.conn = None
+        self.node = node
+
 
         # initvm might be running on a different host.  Thus there's
         # no need to talk with libvirt
-- 
2.20.1



More information about the elbe-devel mailing list