2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-10-07 10:06:39 +00:00

Remove trailing spaces in file xCAT-server/share/xcat/netboot/fedora/dracut_009/xcatroot

This commit is contained in:
GONG Jie
2017-12-31 23:59:59 +00:00
parent fa9f76776d
commit 3c027311fb
@@ -40,7 +40,7 @@ if [ ! -z "$imgurl" ]; then
ROOTDIR=$SERVER
SERVER=${SERVER%%/*}
SERVER=${SERVER%:}
ROOTDIR=/${ROOTDIR#*/}
ROOTDIR=/${ROOTDIR#*/}
fi
fi
#echo 0 > /proc/sys/vm/zone_reclaim_mode #Avoid kernel bug
@@ -76,7 +76,7 @@ elif [ -r /rootimg.gz ]; then
echo Done
elif [ -r /rootimg-statelite.gz ]; then
echo Setting up RAM-root tmpfs for statelite mode.
if [ -z $rootlimit];then
mount -t tmpfs -o mode=755 rootfs $NEWROOT
else
@@ -92,7 +92,7 @@ elif [ -r /rootimg-statelite.gz ]; then
fi
echo Done
# then, the statelite staffs will be processed
echo Setting up Statelite
echo Setting up Statelite
modprobe nfs
MAXTRIES=7
ITER=0
@@ -130,7 +130,7 @@ elif [ -r /rootimg-statelite.gz ]; then
ITER=0
if [ -z $MNTOPTS ]; then
MNT_OPTIONS="nolock,rsize=32768,tcp,timeo=14"
else
MNT_OPTIONS=$MNTOPTS
fi