Put hostname -s for rc.statelite

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8799 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2011-02-07 16:02:03 +00:00
parent 4ee56c560f
commit e748077621

View File

@ -20,7 +20,7 @@ ELIST=[] # entry list, each entry will contain the type and the path
declare -a CLIST
declare -a PLIST
ME=`hostname`
ME=`hostname -s`
PERSISTENT="${MNTDIR}/$SL/persistent/$ME"
@ -54,7 +54,7 @@ GetSyncInfo () {
fi
done
hn=`hostname`
hn=`hostname -s`
if [ -z $XCATSERVER ]; then
echo "Cannot find the xCAT server for node $hn"