From 58986c772c96b7da77cd8d22e00269d6fe1fbeb8 Mon Sep 17 00:00:00 2001 From: ligc Date: Tue, 14 Feb 2012 03:28:41 +0000 Subject: [PATCH] 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 --- xCAT/postscripts/otherpkgs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/xCAT/postscripts/otherpkgs b/xCAT/postscripts/otherpkgs index 2fa36f409..4666be1f8 100755 --- a/xCAT/postscripts/otherpkgs +++ b/xCAT/postscripts/otherpkgs @@ -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