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

Bastian Germann bage at linutronix.de
Thu Apr 1 18:19:12 CEST 2021


Am 01.04.21 um 13:15 schrieb Torben Hohn:
> prepare to handle looping until a connection is available
> 
> Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>

Reviewed-by: Bastian Germann <bage 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
> 


More information about the elbe-devel mailing list