From dd6c9d08373aab215ba3ae599f0a42009091ad9b Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 9 May 2016 14:24:50 -0400 Subject: [PATCH] Have bmcsetup apply dual-byte bmcport right bmcport can have a space in it. At least work somewhat with that by removing the special IFS to allow it --- xCAT-genesis-scripts/bin/bmcsetup | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-genesis-scripts/bin/bmcsetup b/xCAT-genesis-scripts/bin/bmcsetup index 51d3e2f15..88513d726 100755 --- a/xCAT-genesis-scripts/bin/bmcsetup +++ b/xCAT-genesis-scripts/bin/bmcsetup @@ -99,7 +99,9 @@ elif [ "$IPMIMFG" == 20301 -o "$IPMIMFG" == 19046 ] ; then let idev=0 IFS=',' for p in $BMCPORT; do + unset IFS ipmitool -d $idev raw 0xc 1 1 0xc0 $p > /dev/null + IFS=',' # after this change, we need to watch and wait to see that it # actually takes effect. On port change, the service processor # does not migrate the network configuration over