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