diff --git a/xCAT/postscripts/aixlitesetup b/xCAT/postscripts/aixlitesetup index 9c89f1aa8..c6347f5a8 100644 --- a/xCAT/postscripts/aixlitesetup +++ b/xCAT/postscripts/aixlitesetup @@ -10,7 +10,6 @@ # ############################################################################### -ME=`hostname -s` SL="/.statelite" ROOTDIR="/" MOUNTDIR="$SL/mnt" # where I mount all the trees. @@ -25,6 +24,10 @@ LITEFILE="/litefile.table" LITETREE="/litetree.table" 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}'` + # check the statelite.table file to see if we have # a persistent dir to mount. ProcessStatelite () {