diff --git a/xCAT-OpenStack/postscripts/loadclouddata b/xCAT-OpenStack/postscripts/loadclouddata index 36b0c136a..3f8de9c7e 100755 --- a/xCAT-OpenStack/postscripts/loadclouddata +++ b/xCAT-OpenStack/postscripts/loadclouddata @@ -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 diff --git a/xCAT/postscripts/config_chef_workstation b/xCAT/postscripts/config_chef_workstation index 5adbf68c8..885fb3f0d 100755 --- a/xCAT/postscripts/config_chef_workstation +++ b/xCAT/postscripts/config_chef_workstation @@ -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`