if we set up the chef-server during os provision, there are some error messages

in the /var/log/messages on the management node. Fixed it.
This commit is contained in:
jjhua 2013-12-17 14:16:58 -05:00
parent 0851987c3b
commit 78bde6f6f7
2 changed files with 4 additions and 1 deletions

View File

@ -38,7 +38,8 @@ hkeys() {
set | grep -o "^HASH${1}[[:alnum:]]*=" | sed -re "s/^HASH${1}(.*)=/\\1/g"
}
HOME='/root/'
export HOME
#flags
run_all=0

View File

@ -8,6 +8,8 @@
# It is used by install_chef_workstation on Ubuntu and chef kit on RH.
#=cut
#-------------------------------------------------------------------------------
HOME='/root/'
export HOME
node=`hostname`