From d006a8fe622db597a70a264b0380c6e870418b36 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/workstation.post --- .../chef/chef-x86_64/scripts/workstation.post | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/chef/chef-x86_64/scripts/workstation.post b/xCAT-buildkit/share/xcat/kits/kit_build/chef/chef-x86_64/scripts/workstation.post index 44e5a87a8..9f39b9135 100755 --- a/xCAT-buildkit/share/xcat/kits/kit_build/chef/chef-x86_64/scripts/workstation.post +++ b/xCAT-buildkit/share/xcat/kits/kit_build/chef/chef-x86_64/scripts/workstation.post @@ -1,21 +1,21 @@ -#!/bin/sh +#!/bin/sh # IBM(c) 2013 EPL license http://www.eclipse.org/legal/epl-v10.html #------------------------------------------------------------------------------- #=head1 workstation.post -#=head2 This command configures the chef workstation on a xCAT node. It is used -# as a postbootscript for chef_workstation kit +#=head2 This command configures the chef workstation on a xCAT node. It is used +# as a postbootscript for chef_workstation 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 #configure the chef workstation configuration files - /xcatpost/config_chef_workstation "$@" + /xcatpost/config_chef_workstation "$@" fi fi