-move ppc64 away, use HOST_ARCH to replace it

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3125 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
mxi1 2009-04-08 08:24:26 +00:00
parent be060589dc
commit b94f2939fe

View File

@ -58,6 +58,8 @@ export MASTER="#XCATVAR:XCATMASTER#"
# for servicenode, add /install to /etc/fstab
echo "$MASTER:/install /install nfs timeo=14,intr 1 2" >>/etc/fstab
# check the arch for nodetype
NODE_ARCH=#TABLE:nodetype:$NODE:arch#
#
# This script has not yet been updated to work with service nodes
@ -69,11 +71,11 @@ do
do
#mount -r $i:/install/postscripts /xcatpost
wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 0 -T 60 ftp://$i/postscripts
wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 0 -T 60 ftp://$i/post/otherpkgs/sles11/ppc64
wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 0 -T 60 ftp://$i/post/otherpkgs/sles11/$NODE_ARCH
if [ "$?" = "0" ]
then
rpm -ivh $i/post/otherpkgs/sles11/ppc64/stunnel*.rpm
rpm -ivh $i/post/otherpkgs/sles11/$NODE_ARCH/stunnel*.rpm
mkdir -p /usr/var/run/stunnel
mkdir -p /var/stunnel
if [ -x /usr/sbin/stunnel ]; then #Stop if no stunnel to help the next bit