From 6635281a99f50ecc7f61c67fd4fe16ad93eb3cc9 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Fri, 17 Feb 2012 21:26:50 +0000 Subject: [PATCH] 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 --- xCAT-nbroot2/bmcsetup | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xCAT-nbroot2/bmcsetup b/xCAT-nbroot2/bmcsetup index 3ed8bec85..abe6641c8 100755 --- a/xCAT-nbroot2/bmcsetup +++ b/xCAT-nbroot2/bmcsetup @@ -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