2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-05 09:48:31 +00:00
Files
xcat-core/xCAT-genesis-scripts/usr/sbin/setupimmnic
Jarrod Johnson 4a459177e1 Implement IPMI enablement through redfish
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.
2019-08-21 16:23:49 -04:00

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