From a3a169ba4d3f376bcc0b9043d19e59a4d4bf771e 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-client/bin/xcatchroot --- xCAT-client/bin/xcatchroot | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/xCAT-client/bin/xcatchroot b/xCAT-client/bin/xcatchroot index fb2c755e2..694fd4c9b 100755 --- a/xCAT-client/bin/xcatchroot +++ b/xCAT-client/bin/xcatchroot @@ -3,16 +3,16 @@ #(C)IBM Corp ################################################################ # Usage: -# xcatchroot -h +# xcatchroot -h # xcatchroot [-v] -i osimage cmd_string # # # WARNING: -# Be very careful when using this script!!! Make sure you are +# Be very careful when using this script!!! Make sure you are # very clear about exactly what you are changing and what effect # it will have. # -# As a precaution it is advisable to make a copy of the original +# As a precaution it is advisable to make a copy of the original # spot in case your changes wind up corrupting the image. # # Note: @@ -24,18 +24,18 @@ # modification. # # In the bosboot code, there is a check for the creation of a boot -# image; if the image creation is anything other than disk, the +# image; if the image creation is anything other than disk, the # odm values are not picked up. You will have to confirm that # the bosboot command in your spot has the check removed. # -# Edit the bosboot command contained in the spot (save a backup). +# Edit the bosboot command contained in the spot (save a backup). # (ex. "vi /usr/sbin/bosboot"). Search for # "zap it as". The next line checks to see if the # device prefix is "hdisk". Comment out the line and the # corresponding "fi" which ends the "if" statement. Now this # code will always execute. Save changes. # -# Note: Always run the NIM check operation after you are done updating +# Note: Always run the NIM check operation after you are done updating # your spot. # # nim -Fo check spotName @@ -95,7 +95,7 @@ do case ${z} in h) echo $usage - exit 0 + exit 0 ;; i) # xCAT osimage name @@ -177,10 +177,10 @@ if ${LSNIM} $spot >/dev/null ; then then echo "Running command: ${LSNIM} -a location $spotObj | ${AWK} '/location/ {print $3}'\n" fi - location=`${LSNIM} -a location $spotObj | ${AWK} '/location/ {print $3}'` + location=`${LSNIM} -a location $spotObj | ${AWK} '/location/ {print $3}'` else - echo "ERROR: Cannot use chroot with remote resources $spot." + echo "ERROR: Cannot use chroot with remote resources $spot." echo "xcatchroot: ERROR: Cannot use chroot with remote resources $spot." | logger -t xcat -p local4.err exit 1 fi