mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	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:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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`
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user