git://git.onelab.eu
/
build.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
other fix
[build.git]
/
lbuild-initvm.sh
diff --git
a/lbuild-initvm.sh
b/lbuild-initvm.sh
index
307beb6
..
a8edc71
100755
(executable)
--- 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=""