modify some code to be compatible with the old diskless rootimg(s) before xCAT 2.8
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14762 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
30cd2dae59
commit
bc1e7e26f6
@ -50,7 +50,7 @@ do
|
||||
chmod +x /xcatpost/*
|
||||
#/xcatpost/getpostscript.awk |sed -e 's/<[^>]*>//g'|egrep -v '^ *$'|sed -e 's/^ *//' > /xcatpost/mypostscript
|
||||
|
||||
/xcatpost/getpostscript.awk > /dev/null
|
||||
/xcatpost/getpostscript.awk version2 > /dev/null
|
||||
wget -N --waitretry=10 --random-wait -T 60 http://$i$TFTPDIR/mypostscripts/mypostscript.$NODE -P /xcatpost 2>> /tmp/wget.log
|
||||
rc=$?
|
||||
if [ "$rc" = "0" ]; then
|
||||
@ -70,7 +70,7 @@ do
|
||||
let SLI=$RANDOM%10+10
|
||||
sleep $SLI
|
||||
#/xcatpost/getpostscript.awk |sed -e 's/<[^>]*>//g'|egrep -v '^ *$'|sed -e 's/^ *//' > /xcatpost/mypostscript
|
||||
/xcatpost/getpostscript.awk > /dev/null
|
||||
/xcatpost/getpostscript.awk version2 > /dev/null
|
||||
wget -N --waitretry=10 --random-wait -T 60 http://$i$TFTPDIR/mypostscripts/mypostscript.$NODE -P /xcatpost 2>> /tmp/wget.log
|
||||
mv /xcatpost/mypostscript.$NODE /xcatpost/mypostscript
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user