From 1f23d67e4d6bd81fd312f8dbc7a2828363dc72a2 Mon Sep 17 00:00:00 2001 From: jjhua Date: Wed, 10 Apr 2013 09:32:25 +0000 Subject: [PATCH] add some code to make the config_chef_server work during post boot period git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15927 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/config_chef_server | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xCAT/postscripts/config_chef_server b/xCAT/postscripts/config_chef_server index 8578e15f0..c43bab2f1 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 @@ -14,7 +14,8 @@ # chef -p postscripts=config_chef_server #=cut #------------------------------------------------------------------------------- - +HOME='/root/' +export HOME /usr/bin/chef-server-ctl reconfigure if [ $? -ne 0 ] then