From e7480776212d86cf0f99334aa7dc24b35b5bcb9c Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 7 Feb 2011 16:02:03 +0000 Subject: [PATCH] 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 --- xCAT-server/share/xcat/netboot/add-on/statelite/rc.statelite | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/share/xcat/netboot/add-on/statelite/rc.statelite b/xCAT-server/share/xcat/netboot/add-on/statelite/rc.statelite index 470ac8227..12014d4b2 100755 --- a/xCAT-server/share/xcat/netboot/add-on/statelite/rc.statelite +++ b/xCAT-server/share/xcat/netboot/add-on/statelite/rc.statelite @@ -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"