mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	Newer firmware will disable IPMI by default. If a user is using bmcsetup, they are preparing explictly to use with IPMI, so use redfish to turn on the IPMI.
		
			
				
	
	
		
			6 lines
		
	
	
		
			180 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			180 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/sh
 | 
						|
/sbin/ip link set $INTERFACE up
 | 
						|
/sbin/ip addr add dev $INTERFACE 169.254.95.120/24
 | 
						|
/sbin/ip route add 169.254.95.0/24 dev $INTERFACE
 | 
						|
echo -n $INTERFACE > /tmp/xcchostnic
 |