From d9a0875ad012b7ed37b50ccca9170d563ddcbcad Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Sun, 31 Dec 2017 23:59:59 +0000 Subject: [PATCH] Remove trailing spaces in file xCAT-server/share/xcat/netboot/rh/dracut/xcatroot --- xCAT-server/share/xcat/netboot/rh/dracut/xcatroot | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-server/share/xcat/netboot/rh/dracut/xcatroot b/xCAT-server/share/xcat/netboot/rh/dracut/xcatroot index b53ccb366..6136b3471 100755 --- a/xCAT-server/share/xcat/netboot/rh/dracut/xcatroot +++ b/xCAT-server/share/xcat/netboot/rh/dracut/xcatroot @@ -47,7 +47,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 @@ -120,7 +120,7 @@ elif [ -r /rootimg.tar.gz ] || [ -r /rootimg.tar.xz ]; 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 @@ -136,7 +136,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