From: Thierry Parmentelat Date: Fri, 10 Apr 2015 13:59:42 +0000 (+0200) Subject: fix X-Git-Tag: 5.3.9~56 X-Git-Url: http://git.onelab.eu/?p=build.git;a=commitdiff_plain;h=cc6f9ca01f6bf9f825828ec99c51f7df147f4347 fix --- diff --git a/lbuild-initvm.sh b/lbuild-initvm.sh index 307beb65..a8edc71e 100755 --- a/lbuild-initvm.sh +++ b/lbuild-initvm.sh @@ -732,7 +732,7 @@ function wait_for_ssh () { lxc=$1; shift # if run in public_ip mode, we know the IP of the guest and it is specified here - guest_ip=$1; shift + [ -n "$1" ] && { guest_ip=$1; shift; } #wait max 2 min for sshd to start success=""