mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-23 11:40:25 +00:00
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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user