2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

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
This commit is contained in:
Jarrod Johnson 2016-05-09 14:24:50 -04:00
parent bb59883323
commit dd6c9d0837

View File

@ -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