2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-16 11:20:32 +00:00

fix statelite persistent dir use short name

This commit is contained in:
bybai
2016-11-30 22:34:42 -05:00
parent 94ef3a47ce
commit 3370a7d48e
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