From d64a8083e2181c48baad30436b1c19ff8960cc2e Mon Sep 17 00:00:00 2001 From: nott Date: Wed, 16 Apr 2008 14:22:22 +0000 Subject: [PATCH] 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 --- xCAT-server-2.0/share/xcat/install/scripts/post.rh.iscsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xCAT-server-2.0/share/xcat/install/scripts/post.rh.iscsi b/xCAT-server-2.0/share/xcat/install/scripts/post.rh.iscsi index 397ae3228..8324d9c98 100644 --- a/xCAT-server-2.0/share/xcat/install/scripts/post.rh.iscsi +++ b/xCAT-server-2.0/share/xcat/install/scripts/post.rh.iscsi @@ -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