fix wget hangs when server cannot be reached

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6225 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
mellor 2010-05-25 18:20:59 +00:00
parent 7fd7a87f92
commit 3863050006
4 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@ if [ $OS != "AIX" ]; then
rm -f -R /tmp/essl/*
cd /tmp/essl
download_dir=`echo $ESSL_DIR | cut -d '/' -f3-`
wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 0 -T 60 -nH --cut-dirs=5 ftp://$SITEMASTER/$download_dir/*.rpm 2> /tmp/wget.log
wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 10 -T 60 -nH --cut-dirs=5 ftp://$SITEMASTER/$download_dir/*.rpm 2> /tmp/wget.log
rpm -Uvh essl.license*.rpm
install_essl=`find /opt/ibmmath/essl -name install_essl -print`
$install_essl -y -d . -nodocs

View File

@ -41,7 +41,7 @@ if [ $OS != "AIX" ]; then
mkdir -p /tmp/gpfs_updates
rm -f -R /tmp/gpfs_updates/*
cd /tmp/gpfs_updates
wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 0 -T 60 -nH --cut-dirs=3 ftp://$SITEMASTER/$UPDATES_DIR/*.rpm 2> /tmp/wget.log
wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 10 -T 60 -nH --cut-dirs=3 ftp://$SITEMASTER/$UPDATES_DIR/*.rpm 2> /tmp/wget.log
rpm -Uvh *.rpm
rm -f -R /tmp/gpfs_updates
fi

View File

@ -41,7 +41,7 @@ if [ $OS != "AIX" ]; then
rm -f -R /tmp/loadl/*
cd /tmp/loadl
download_dir=`echo $LOADL_DIR | cut -d '/' -f3-`
wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 0 -T 60 -nH --cut-dirs=5 ftp://$SITEMASTER/$download_dir/*.rpm 2> /tmp/wget.log
wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 10 -T 60 -nH --cut-dirs=5 ftp://$SITEMASTER/$download_dir/*.rpm 2> /tmp/wget.log
rpm -Uvh LoadL-full-license*.rpm
$linux_loadl_license_script -c resmgr -y -d .
rm -Rf /tmp/loadl

View File

@ -41,7 +41,7 @@ if [ $OS != "AIX" ]; then
rm -f -R /tmp/pe/*
cd /tmp/pe
download_dir=`echo $PE_DIR | cut -d '/' -f3-`
wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 0 -T 60 -nH --cut-dirs=5 ftp://$SITEMASTER/$download_dir/*.rpm 2> /tmp/wget.log
wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 10 -T 60 -nH --cut-dirs=5 ftp://$SITEMASTER/$download_dir/*.rpm 2> /tmp/wget.log
rpm -Uvh IBM_pe_license*.rpm
IBM_PE_LICENSE_PROMPT=N /opt/ibmhpc/install/sbin/accept_ppe_license.sh
rpm -Uvh --force ibm_lapi*.rpm ibm_pe*.rpm ppe_*.rpm