From db5d7b644fdb344b089708bc458c8461066eae60 Mon Sep 17 00:00:00 2001 From: mxi1 Date: Sat, 9 Oct 2010 09:03:31 +0000 Subject: [PATCH] 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 --- xCAT/postscripts/aixlitesetup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT/postscripts/aixlitesetup b/xCAT/postscripts/aixlitesetup index bd5f78444..ed1856bdf 100644 --- a/xCAT/postscripts/aixlitesetup +++ b/xCAT/postscripts/aixlitesetup @@ -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.