fix for plain_pkgs support with http service

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11569 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2012-02-14 03:28:41 +00:00
parent 49d4c0a395
commit 58986c772c

View File

@ -581,10 +581,7 @@ while [ $op_index -le $OTHERPKGS_INDEX ]; do
rm -f -R /tmp/postage/*
cd /tmp/postage
for x in `echo "$plain_pkgs" | tr " " "\n"`
do
wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -nH --cut-dirs=2 -t 0 -T 60 --reject "index.html*" --no-parent http://$OTHERPKGDIR/$x 2> /tmp/wget.log
done
wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 0 -T 60 --reject "index.html*" --no-parent http://$OTHERPKGDIR/ 2> /tmp/wget.log
mv $dir_no_ftproot/* /xcatpost/$dir_no_ftproot;
rm -rf $NFSSERVER