fix for bug 4459: increase the timeout value in xcatinstallpost, 11 nics takes about 40 seconds, change the wait timeout to be 180 seconds

This commit is contained in:
ligc 2014-12-08 10:19:23 +08:00
parent 35beb15503
commit fe342f041d

View File

@ -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