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/trunk@15928 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2013-04-10 09:32:49 +00:00
parent 5b09fc7b4b
commit ffe3068f8c

View File

@ -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 <noderange> -p postscripts=config_chef_server
#=cut
#-------------------------------------------------------------------------------
HOME='/root/'
export HOME
/usr/bin/chef-server-ctl reconfigure
if [ $? -ne 0 ]
then