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