From fe342f041d6f3a7f4b6c0a427d3af295abaddd6f Mon Sep 17 00:00:00 2001 From: ligc Date: Mon, 8 Dec 2014 10:19:23 +0800 Subject: [PATCH] fix for bug 4459: increase the timeout value in xcatinstallpost, 11 nics takes about 40 seconds, change the wait timeout to be 180 seconds --- xCAT/postscripts/xcatinstallpost | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT/postscripts/xcatinstallpost b/xCAT/postscripts/xcatinstallpost index 9e5026fcc..a45219b93 100755 --- a/xCAT/postscripts/xcatinstallpost +++ b/xCAT/postscripts/xcatinstallpost @@ -20,7 +20,7 @@ until ip -4 --oneline addr show|grep -v 127.0.0.1 >/dev/null do sleep 2 RETRY=$[ $RETRY + 1 ] - if [ $RETRY -eq 15 ];then + if [ $RETRY -eq 90 ];then logger -t xcat -p local4.err "Network not configured, please check..." echo `date` "xcatinstallpost: Network not configured, please check..." >> /var/log/xcat/xcat.log exit 1