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"