From 8caa0f2290c2effcf8e5703a40673b3e1761391e 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/ubuntu/genimage --- .../share/xcat/netboot/ubuntu/genimage | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/xCAT-server/share/xcat/netboot/ubuntu/genimage b/xCAT-server/share/xcat/netboot/ubuntu/genimage index 054ac2924..e7bd3c9dc 100755 --- a/xCAT-server/share/xcat/netboot/ubuntu/genimage +++ b/xCAT-server/share/xcat/netboot/ubuntu/genimage @@ -648,7 +648,7 @@ if ($postinstall_filename) { #delete the osimage attributes from environment variable delete @ENV{qw(IMG_ARCH IMG_NAME IMG_OSVER IMG_KERNELVERSION IMG_PROFILE IMG_PKGLIST IMG_PKGDIR IMG_OTHERPKGLIST IMG_OTHERPKGDIR IMG_ROOTIMGDIR)}; - + } # Default to the first kernel found in the install image if nothing specified explicitly. @@ -1036,7 +1036,7 @@ MAGENTA="\033[35m" BROWN="\033[33m" NORMAL=\$RESET -# This function is used to mount files/directories from the .statelite directory +# This function is used to mount files/directories from the .statelite directory # over the root directory. # This function is stolen from redhat shell() { @@ -1079,10 +1079,10 @@ echo ' echo ' _________ ________________ ___ __\\_ ___ \\ / _ \\__ ___/ - \\ \\/ / \\ \\/ / /_\\ \\| | - > <\\ \\____/ | \\ | - /__/\\_ \\\\______ /\\____|__ /____| - \\/ \\/ \\/ + \\ \\/ / \\ \\/ / /_\\ \\| | + > <\\ \\____/ | \\ | + /__/\\_ \\\\______ /\\____|__ /____| + \\/ \\/ \\/ ' echo -e "\$RESET" } @@ -1193,8 +1193,8 @@ for i in `cat /proc/cmdline`; do VALUE=`echo \$i |awk -F= '{print \$2}'` xcatdebugmode=\$VALUE fi - - #if "nonodestatus" specified,do not update the nodestatus + + #if "nonodestatus" specified,do not update the nodestatus if [ "\$i" = 'nonodestatus' ]; then NODESTATUS='n' fi @@ -1276,7 +1276,7 @@ for i in `cat /proc/cmdline`; do SERVER=`echo \$VALUE|awk -F/ '{print \$3}'` ROOTDIR=`echo \$VALUE|awk -F/ '{for(i=4;i<=NF;i++) printf "/%s",\$i}'` fi - # for NFS root + # for NFS root elif [ "\$KEY" = 'NFSROOT' ]; then NFSROOT=1 VALUE=`echo \$i |awk -F= '{print \$2}'` @@ -1361,7 +1361,7 @@ EOMS fi fi - # now we need to mount the rest of the system. + # now we need to mount the rest of the system. if [ ! -e "\$NEWROOT/\$RWDIR" ]; then echo "" echo -e "\${RED}Hmmm... this NFS root directories doesn't have a /\$RWDIR directory for me to mount a rw filesystem. You'd better to create it... \${NORMAL}" @@ -1667,7 +1667,7 @@ EOMS push @filestoadd, $_; } } - + if ($arch =~ /x86_64/) { push @filestoadd, "lib64/libnss_dns.so.2";