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
This commit is contained in:
parent
3a7d35f220
commit
1f23d67e4d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user