From 765e2ad35842196074e1dc76c0d03ca9d4f1641d Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 18 Nov 2019 14:33:59 -0500 Subject: [PATCH] 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. --- xCAT-genesis-scripts/usr/bin/bmcsetup | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-genesis-scripts/usr/bin/bmcsetup b/xCAT-genesis-scripts/usr/bin/bmcsetup index ef5a72c49..e511e33d0 100755 --- a/xCAT-genesis-scripts/usr/bin/bmcsetup +++ b/xCAT-genesis-scripts/usr/bin/bmcsetup @@ -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