From 805e0d5fd12e90ff6f6efb8f7cb29dadedbf3022 Mon Sep 17 00:00:00 2001 From: jjhua Date: Tue, 9 Apr 2013 08:03:47 +0000 Subject: [PATCH] make it work during postboot period git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15890 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..8578e15f0 100755 --- a/xCAT/postscripts/config_chef_server +++ b/xCAT/postscripts/config_chef_server @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/sh # 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"