From: Thierry Parmentelat Date: Tue, 4 Feb 2014 15:48:25 +0000 (+0100) Subject: 2 minutes will be more than enough X-Git-Tag: before_libvirt_121~10 X-Git-Url: http://git.onelab.eu/?p=build.git;a=commitdiff_plain;h=1392299ea221dbb07263c0efe10f01002777ed59 2 minutes will be more than enough --- diff --git a/lbuild-initvm.sh b/lbuild-initvm.sh index 15a8efec..a867f60b 100755 --- 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... - #wait max 5 min for sshd to start + #wait max 2 min for sshd to start ssh_up="" - stop_time=$(($(date +%s) + 300)) current_time=$(date +%s) + stop_time=$(($current_time + 120)) counter=1 while [ "$current_time" -lt "$stop_time" ] ; do