for defect 3078588,

the hostname value in /etc/niminfo is the long name, for example: cn1.cluster.com, the ME value will mismatch the value in statelite.table.
fixed it now.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7797 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
mxi1 2010-10-09 09:03:31 +00:00
parent 87f3d02381
commit db5d7b644f

View File

@ -26,7 +26,7 @@ LOG="${ROOTDIR}/${SL}/statelite.log"
# get this node name from the /etc/niminfo file
INFO=`cat /etc/niminfo | grep 'NIM_HOSTNAME'`
ME=`echo $INFO | awk -F= '{print $2}'`
ME=`echo $INFO | awk -F= '{print $2}' | awk -F. '{print $1}'`
# check the statelite.table file to see if we have
# a persistent dir to mount.