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