IMM interface changeover may require a brief respite before lan set works

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11614 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-02-17 21:26:50 +00:00
parent 993014ae44
commit 6635281a99

View File

@ -76,6 +76,13 @@ elif [ "$IPMIMFG" == 20301 ] ; then
let idev=NUMBMCS-1
for p in $BMCPORT; do
ipmitool -d $idev raw 0xc 1 1 0xc0 $BMCPORT > /dev/null
NEWPORT=`ipmitool -d $idev raw 0xc 2 1 0xc0 0 0|awk '{print $2}'`
while [ "$NEWPORT" != "$BMCPORT" ]; do
sleep 0.1
NEWPORT=`ipmitool -d $idev raw 0xc 2 1 0xc0 0 0|awk '{print $2}'`
done
sleep 5
let idev=idev-1
done
fi