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
2 minutes will be more than enough
[build.git]
/
lbuild-initvm.sh
diff --git
a/lbuild-initvm.sh
b/lbuild-initvm.sh
index
15a8efe
..
a867f60
100755
(executable)
--- a/
lbuild-initvm.sh
+++ b/
lbuild-initvm.sh
@@
-815,10
+815,10
@@
function wait_for_ssh () {
echo network in guest is up, waiting for ssh...
echo network in guest is up, waiting for ssh...
- #wait max
5
min for sshd to start
+ #wait max
2
min for sshd to start
ssh_up=""
ssh_up=""
- stop_time=$(($(date +%s) + 300))
current_time=$(date +%s)
current_time=$(date +%s)
+ stop_time=$(($current_time + 120))
counter=1
while [ "$current_time" -lt "$stop_time" ] ; do
counter=1
while [ "$current_time" -lt "$stop_time" ] ; do