From d24245d3e4da4891b6aa2f96051f6506eb4cecee Mon Sep 17 00:00:00 2001 From: nott Date: Wed, 16 Apr 2008 14:26:14 +0000 Subject: [PATCH] Switch xcatpost file to gz. bzip2 is not available on linux diskless or AIX. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server-2.0/share/xcat/install/scripts/post.rh | 5 +++-- 1 file changed, 3 insertions(+), 2 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 155992fff..30fdf6371 100644 --- a/xCAT-server-2.0/share/xcat/install/scripts/post.rh +++ b/xCAT-server-2.0/share/xcat/install/scripts/post.rh @@ -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 -jxvf 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