mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-10-07 18:16:34 +00:00
Remove trailing spaces in file xCAT-server/share/xcat/netboot/fedora/dracut_009/xcatroot
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user