From a18693ec9ffb1eb34978df5cbc8f816c9b2d2215 Mon Sep 17 00:00:00 2001 From: jjhua Date: Tue, 9 Apr 2013 08:02:15 +0000 Subject: [PATCH] make it work during postboot period git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15888 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/config_chef_server | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT/postscripts/config_chef_server b/xCAT/postscripts/config_chef_server index e0cab6603..105bd1073 100755 --- a/xCAT/postscripts/config_chef_server +++ b/xCAT/postscripts/config_chef_server @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/sh -vx # IBM(c) 2013 EPL license http://www.eclipse.org/legal/epl-v10.html @@ -15,7 +15,7 @@ #=cut #------------------------------------------------------------------------------- -sudo chef-server-ctl reconfigure +/usr/bin/chef-server-ctl reconfigure if [ $? -ne 0 ] then errmsg="Failed to run chef-server-ctl reconfigure on $node"