]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
pxe_install.sh: bump FAI time-out to 60 minutes
authorThilo Fromm <thilo.fromm@profitbricks.com>
Wed, 11 Dec 2013 12:51:53 +0000 (13:51 +0100)
committerThilo Fromm <thilo.fromm@profitbricks.com>
Wed, 11 Dec 2013 12:51:53 +0000 (13:51 +0100)
This bumps the FAI time-out to 60 minutes in order to un-break gateway
auto-deploy.

Signed-off-by: Thilo Fromm <thilo.fromm@profitbricks.com>
pxe_install.sh

index 83d543b8fab0594dae1aa3e45df479610b6f23bd..239f08dd7fe043fc4fc3b77671397b561b23788a 100755 (executable)
@@ -28,10 +28,10 @@ $(dirname $0)/pxe_riserver_setup.sh $TARGET_HOST $TARGET_MAC $TARGET_DEV localbo
 set +x
 never_pinged=true
 #
-# check for 15min whether ssh comes back
+# check for 60min whether ssh comes back
 #
 echo "Checking for sshd running on $TARGET_HOST..."
-for i in $(seq 1 90) ; do
+for i in $(seq 1 360) ; do
        sleep 2
        if $(ping -c 1 $TARGET_HOST >/dev/null)  ; then
                never_pinged=false