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
This commit is contained in:
		| @@ -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" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user