From 3370a7d48e333f4fe3c6c55d39dc8ab8e67373b1 Mon Sep 17 00:00:00 2001 From: bybai Date: Wed, 30 Nov 2016 22:34:42 -0500 Subject: [PATCH] fix statelite persistent dir use short name --- xCAT-server/share/xcat/netboot/rh/dracut_033/xcat-prepivot.sh | 2 +- xCAT-server/share/xcat/netboot/rh/dracut_033/xcatroot | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/share/xcat/netboot/rh/dracut_033/xcat-prepivot.sh b/xCAT-server/share/xcat/netboot/rh/dracut_033/xcat-prepivot.sh index 131b5f74e..56401e96d 100755 --- a/xCAT-server/share/xcat/netboot/rh/dracut_033/xcat-prepivot.sh +++ b/xCAT-server/share/xcat/netboot/rh/dracut_033/xcat-prepivot.sh @@ -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 diff --git a/xCAT-server/share/xcat/netboot/rh/dracut_033/xcatroot b/xCAT-server/share/xcat/netboot/rh/dracut_033/xcatroot index 6e9e524ba..c4d6c17dd 100755 --- a/xCAT-server/share/xcat/netboot/rh/dracut_033/xcatroot +++ b/xCAT-server/share/xcat/netboot/rh/dracut_033/xcatroot @@ -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