From 5c4fece83875447f887ec204cc3c99a0c6ef5e47 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 3 Jun 2010 17:27:52 +0000 Subject: [PATCH] -Try Use shortname explicitly for STATEMNT things git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6344 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 32facef98..8f3f40d1d 100755 --- a/xCAT-server/share/xcat/netboot/add-on/statelite/rc.statelite +++ b/xCAT-server/share/xcat/netboot/add-on/statelite/rc.statelite @@ -9,7 +9,7 @@ # get all the database files. #set -x SL=".statelite" -ME=`hostname` +ME=`hostname -s` MNTDIR="/sysroot" SYNCTREE="${MNTDIR}/$SL/litetree" # the list of directories to sync from SYNCLIST="${MNTDIR}/$SL/litefile" # the list of files to sync @@ -55,7 +55,7 @@ GetSyncInfo () { fi done - hn=`hostname` + hn=`hostname -s` if [ -z $XCATSERVER ]; then