mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16244 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
		
			
				
	
	
		
			43 lines
		
	
	
		
			684 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
		
			684 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
#set -x
 | 
						|
 | 
						|
#################################################################################
 | 
						|
#   Load functions and variables
 | 
						|
#
 | 
						|
. /etc/init.d/functions
 | 
						|
#
 | 
						|
################################################################################
 | 
						|
 | 
						|
#################################################################################
 | 
						|
#
 | 
						|
#   main
 | 
						|
#
 | 
						|
{
 | 
						|
 | 
						|
ping_test
 | 
						|
 | 
						|
get_scripts_directory
 | 
						|
 | 
						|
if [ ! -z $HOSTNAME ]; then
 | 
						|
    logmsg
 | 
						|
    logmsg "This hosts name is: $HOSTNAME"
 | 
						|
fi
 | 
						|
 | 
						|
run_pre_install_scripts
 | 
						|
 | 
						|
choose_autoinstall_script
 | 
						|
 | 
						|
write_variables
 | 
						|
beep
 | 
						|
 | 
						|
run_autoinstall_script
 | 
						|
 | 
						|
} 2>&1 | send_monitor_stdout
 | 
						|
 | 
						|
#
 | 
						|
#################################################################################
 | 
						|
 | 
						|
exit 0
 | 
						|
 |