From 8fee83212e6cf306c427592530d8f599deca3f4a Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Wed, 27 May 2009 03:22:52 +0000 Subject: [PATCH] increase the retry times git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3450 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/lpar_netboot.expect | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xCAT-server/sbin/lpar_netboot.expect b/xCAT-server/sbin/lpar_netboot.expect index 56b528b42..9c4ecfead 100644 --- a/xCAT-server/sbin/lpar_netboot.expect +++ b/xCAT-server/sbin/lpar_netboot.expect @@ -2200,7 +2200,7 @@ if { $set_boot_order > 1 } { set done 1 } timeout { - if { $retry_count == 2 } { + if { $retry_count == 3 } { send_user "$PROGRAM: Timeout waiting for command prompt\n" exit 1 } @@ -2208,7 +2208,7 @@ if { $set_boot_order > 1 } { incr retry_count } eof { - if { $retry_count == 2 } { + if { $retry_count == 3 } { send_user "$PROGRAM: ssh connection to terminated unexpectedly\n" exit 1 } @@ -2235,7 +2235,7 @@ if { $set_boot_order > 1 } { set done 1 } timeout { - if { $retry_count == 1 } { + if { $retry_count == 3 } { send_user "$PROGRAM: Timeout waiting for command prompt\n" exit 1 } @@ -2243,7 +2243,7 @@ if { $set_boot_order > 1 } { incr retry_count } eof { - if { $retry_count == 1 } { + if { $retry_count == 3 } { send_user "$PROGRAM: ssh connection to terminated unexpectedly\n" exit 1 }