2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-05 17:58:14 +00:00

Add sleep after port change

The BMC net configuration was not yet ready in the wake
of having had the port changed immediately.  Put in an
opportunity for net cfg to catch up.
This commit is contained in:
Jarrod Johnson
2019-10-23 08:46:32 -04:00
parent aaaa5755df
commit 949532f362

View File

@@ -192,6 +192,7 @@ if [ "$IPMIMFG" == 2 ]; then #IBM
# Get the LAN Configuration Parameters (OEM)
CURBMCPORT=`ipmitool -d $idev raw 0xc 2 1 0xc0 0 0 | awk '{print $2}'`
done
sleep 15
let idev=idev+1
done
unset IFS
@@ -215,6 +216,7 @@ if [ "$IPMIMFG" == 2 ]; then #IBM
sleep 1
CURBMCPORT=`ipmitool -d $idev raw 0xc 2 1 0xc0 0 0 | awk '{print $2}'`
done
sleep 15
let idev=idev+1
done
unset IFS
@@ -252,6 +254,7 @@ elif [ "$IPMIMFG" == 20301 -o "$IPMIMFG" == 19046 -a "$XPROD" != 502 ] ; then
sleep 1
CURBMCPORT=`ipmitool -d $idev raw 0xc 2 1 0xc0 0 0 | awk '{print $2}'`
done
sleep 15
let idev=idev+1
done
unset IFS