2 minutes will be more than enough
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 4 Feb 2014 15:48:25 +0000 (16:48 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 4 Feb 2014 15:48:25 +0000 (16:48 +0100)
lbuild-initvm.sh

index 15a8efe..a867f60 100755 (executable)
@@ -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