2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-21 13:35:32 +00:00

Merge pull request #2240 from bybai/lname

fix statelite persistent dir use short name
This commit is contained in:
yangsong
2016-12-01 03:24:43 -06:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ fi
mount -t tmpfs rw $NEWROOT/$RWDIR
mkdir -p $NEWROOT/$RWDIR/tmpfs
ME=`hostname`
ME=`hostname -s`
if [ ! -z $NODE ]; then
ME=$NODE
fi

View File

@ -160,7 +160,7 @@ elif [ -r /rootimg-statelite.gz ]; then
mount -t tmpfs rw $NEWROOT/$RWDIR
mkdir -p $NEWROOT/$RWDIR/tmpfs
ME=`hostname`
ME=`hostname -s`
if [ ! -z $NODE ]; then
ME=$NODE
fi