2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-03 16:58:24 +00:00
Files
xcat-core/xCAT-genesis-scripts/usr/sbin/setuptsmnic
Jarrod Johnson 922dfe18c4 Enable bmcsetup for Lenovo SR635/SR655
The SR635/SR655 has a particular scheme for dedicated/shared
and hard coded correlated lan channels.  Implement
support for those scenarios.
2019-11-12 11:17:35 -05:00

6 lines
178 B
Bash
Executable File

#!/bin/sh
/sbin/ip link set $INTERFACE up
/sbin/ip addr add dev $INTERFACE 169.254.0.120/24
/sbin/ip route add 169.254.0.0/24 dev $INTERFACE
echo -n $INTERFACE > /tmp/tsmhostnic