From bc1e7e26f63afe3ecc7b21bef119576720e06261 Mon Sep 17 00:00:00 2001 From: jjhua Date: Sun, 6 Jan 2013 05:40:48 +0000 Subject: [PATCH] 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 --- xCAT-server/share/xcat/install/scripts/post.xcat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/share/xcat/install/scripts/post.xcat b/xCAT-server/share/xcat/install/scripts/post.xcat index c86b720ed..7ae249c20 100644 --- a/xCAT-server/share/xcat/install/scripts/post.xcat +++ b/xCAT-server/share/xcat/install/scripts/post.xcat @@ -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