From b45b0270e487578be5e54d99a5fa74704a915d25 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-buildkit/share/xcat/kits/kit_build/chef/chef-x86_64/scripts/server.post --- .../kits/kit_build/chef/chef-x86_64/scripts/server.post | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/chef/chef-x86_64/scripts/server.post b/xCAT-buildkit/share/xcat/kits/kit_build/chef/chef-x86_64/scripts/server.post index 8b5d534d4..bdb880520 100755 --- a/xCAT-buildkit/share/xcat/kits/kit_build/chef/chef-x86_64/scripts/server.post +++ b/xCAT-buildkit/share/xcat/kits/kit_build/chef/chef-x86_64/scripts/server.post @@ -8,14 +8,14 @@ # It is used as a postbootscript for chef_server kit #=cut #------------------------------------------------------------------------------- -if [ "$NODESETSTATE" = "install" ]; then - #prevent getting called during full install bootup +if [ "$NODESETSTATE" = "install" ]; then + #prevent getting called during full install bootup #because the function will be called in the rpm %post section instead exit 0 else if [ -f "/proc/cmdline" ]; then # prevent running it during install into chroot image #Now configure the chef server - /xcatpost/config_chef_server + /xcatpost/config_chef_server fi fi