Switch xcatpost tp gz file.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1079 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
b79724199c
commit
d64a8083e2
@ -35,7 +35,7 @@ do
|
||||
GOTIT=0
|
||||
for i in $MASTER_IPS
|
||||
do
|
||||
wget --wait=10 --random-wait --waitretry=10 --retry-connrefused -t 0 -T 60 http://$i/install/autoinst/xcatpost.tar.bz2
|
||||
wget --wait=10 --random-wait --waitretry=10 --retry-connrefused -t 0 -T 60 http://$i/install/autoinst/xcatpost.tar.gz
|
||||
if [ "$?" = "0" ]
|
||||
then
|
||||
GOTIT=1
|
||||
@ -49,7 +49,8 @@ do
|
||||
RAND=$(perl -e 'print int(rand(5)). "\n"')
|
||||
sleep $RAND
|
||||
done
|
||||
tar -xvf xcatpost.tar.bz2
|
||||
gunzip xcatpost.tar.gz
|
||||
tar -xvf xcatpost.tar
|
||||
/xcatpost/#TABLE:nodelist:THISNODE:node#
|
||||
export NODE=#TABLE:nodelist:THISNODE:node#
|
||||
export PATH=/xcatpost:$PATH
|
||||
|
Loading…
Reference in New Issue
Block a user