From bf06d6b90a17dc3498751eca2a03aa56e1b9651a Mon Sep 17 00:00:00 2001 From: jjhua Date: Tue, 5 Feb 2013 03:21:22 +0000 Subject: [PATCH] fixed bug 3358. set retry=0 every download git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15051 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/xcatdsklspost | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT/postscripts/xcatdsklspost b/xCAT/postscripts/xcatdsklspost index ebbbb63bd..549dec86d 100755 --- a/xCAT/postscripts/xcatdsklspost +++ b/xCAT/postscripts/xcatdsklspost @@ -90,7 +90,7 @@ download_mypostscript() TFTPDIR="/tftpboot" fi #max_retries=2 - #retry=0 + retry=0 rc=1 @@ -375,8 +375,8 @@ if [ ! -x /xcatpost/mypostscript ]; then /xcatpost/getpostscript.awk version2 > /dev/null max_retries=1 postfix=1 - download_mypostscript $SIP $node $postfix $max_retries $TFTPDIR + MYCONT=`grep MASTER /xcatpost/mypostscript` #echo "MYCONT=$MYCONT" #if getpostscript.awk fails, the postscript will fall into infinit loop