2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-06 02:08:25 +00:00

Force only one path in SR635/SR655

In some scenarios, it can cause confusion for both interfaces
to be enabled.  Leave the dedicated port with ipv6 only and
disable the shared otherwise.
This commit is contained in:
Jarrod Johnson
2019-11-18 14:33:59 -05:00
parent a7a5186a4e
commit 765e2ad358

View File

@@ -229,9 +229,11 @@ elif [ "$IPMIMFG" = "19046" -a "$XPROD" = "1287" ]; then
# Lenovo SR635/SR655
BMCPORT=`grep bmcport /tmp/ipmicfg.xml |awk -F\> '{print $2}'|awk -F\< '{print $1}'`
if [ "$BMCPORT" = 0 ]; then
ipmitool raw 0x32 0x71 0 1 2
ipmitool raw 0x32 0x71 0 0 3
LANCHAN=1
else
ipmitool raw 0x32 0x71 0 0 0
LANCHAN=8
fi
ipmitool raw 0x3c 0x70 0 1