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
This commit is contained in:
parent
441e292e08
commit
bf06d6b90a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user