From b94f2939fe6b3929586f9e5467aefd28cbe5b4e6 Mon Sep 17 00:00:00 2001 From: mxi1 Date: Wed, 8 Apr 2009 08:24:26 +0000 Subject: [PATCH] -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 --- xCAT-server/share/xcat/install/scripts/post.sles11 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xCAT-server/share/xcat/install/scripts/post.sles11 b/xCAT-server/share/xcat/install/scripts/post.sles11 index bba1f18d2..5c3a15e41 100644 --- a/xCAT-server/share/xcat/install/scripts/post.sles11 +++ b/xCAT-server/share/xcat/install/scripts/post.sles11 @@ -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