From 082dd24f3d66da005b2f8892b145a4cff607405e Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 13 May 2008 17:50:00 +0000 Subject: [PATCH] -Remove /install prefix from ftp urls git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1373 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server-2.0/share/xcat/install/scripts/post.rh | 4 ++-- xCAT-server-2.0/share/xcat/install/scripts/post.rh.iscsi | 4 ++-- xCAT-server-2.0/share/xcat/install/scripts/post.sles | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/xCAT-server-2.0/share/xcat/install/scripts/post.rh b/xCAT-server-2.0/share/xcat/install/scripts/post.rh index e574da42b..5a5659254 100644 --- a/xCAT-server-2.0/share/xcat/install/scripts/post.rh +++ b/xCAT-server-2.0/share/xcat/install/scripts/post.rh @@ -34,7 +34,7 @@ do GOTIT=0 for i in $MASTER_IPS do - wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 0 -T 60 ftp://$i/install/postscripts + wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 0 -T 60 ftp://$i/postscripts #wget --wait=10 --random-wait --waitretry=10 --retry-connrefused -t 0 -T 60 http://$i/install/autoinst/xcatpost.tar.gz if [ "$?" = "0" ] then @@ -51,7 +51,7 @@ do STUN_PID=$! sleep 1 fi - mv $i/install/postscripts /xcatpost + mv $i/postscripts /xcatpost rm -rf $i chmod +x /xcatpost/* /xcatpost/getpostscript.awk |sed -e 's/<[^>]*>//g'|egrep -v '^ *$'|sed -e 's/^ *//' > /tmp/mypostscript diff --git a/xCAT-server-2.0/share/xcat/install/scripts/post.rh.iscsi b/xCAT-server-2.0/share/xcat/install/scripts/post.rh.iscsi index 276b45bf7..1ba6a4c37 100644 --- a/xCAT-server-2.0/share/xcat/install/scripts/post.rh.iscsi +++ b/xCAT-server-2.0/share/xcat/install/scripts/post.rh.iscsi @@ -34,7 +34,7 @@ do GOTIT=0 for i in $MASTER_IPS do - wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 0 -T 60 ftp://$i/install/postscripts + wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 0 -T 60 ftp://$i/postscripts #wget --wait=10 --random-wait --waitretry=10 --retry-connrefused -t 0 -T 60 http://$i/install/autoinst/xcatpost.tar.gz if [ "$?" = "0" ] then @@ -51,7 +51,7 @@ do STUN_PID=$! sleep 1 fi - mv $i/install/postscripts /xcatpost + mv $i/postscripts /xcatpost rm -rf $i chmod +x /xcatpost/* /xcatpost/getpostscript.awk |sed -e 's/<[^>]*>//g'|egrep -v '^ *$'|sed -e 's/^ *//' > /tmp/mypostscript diff --git a/xCAT-server-2.0/share/xcat/install/scripts/post.sles b/xCAT-server-2.0/share/xcat/install/scripts/post.sles index 2ff355c7d..03a5b0e19 100644 --- a/xCAT-server-2.0/share/xcat/install/scripts/post.sles +++ b/xCAT-server-2.0/share/xcat/install/scripts/post.sles @@ -64,7 +64,7 @@ do for i in $MASTER_IPS do #mount -r $i:/install/postscripts /xcatpost - wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 0 -T 60 ftp://$i/install/postscripts + wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 0 -T 60 ftp://$i/postscripts if [ "$?" = "0" ] then mkdir -p /var/stunnel @@ -81,7 +81,7 @@ do STUN_PID=$! sleep 1 fi - mv $i/install/postscripts /xcatpost + mv $i/postscripts /xcatpost rm -rf $i chmod +x /xcatpost/* /xcatpost/getpostscript.awk |sed -e 's/<[^>]*>//g'|egrep -v '^ *$'|sed -e 's/^ *//' > /tmp/mypostscript