From 67adfabc49d4c8f1ec3a35a5d67d3121055f4355 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 11 Apr 2012 20:49:49 +0000 Subject: [PATCH] For ITE case, skip user name and password setup git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12202 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-nbroot2/bmcsetup | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-nbroot2/bmcsetup b/xCAT-nbroot2/bmcsetup index 8ec66f424..36ae06423 100755 --- a/xCAT-nbroot2/bmcsetup +++ b/xCAT-nbroot2/bmcsetup @@ -157,6 +157,7 @@ fi let idev=NUMBMCS-1 for bmcu in $BMCUS; do + if [ "$bmcu" = "" ]; then continue; fi DISABLEUSERS="1 2 3 4" if [ ! -z "$LOCKEDUSERS" ]; then USERSLOT=`ipmitool -d $idev user list $LANCHAN |grep -v ^ID|awk '{print $1 " " $2}'|grep " $BMCUS"|awk '{print $1}'` @@ -218,6 +219,7 @@ let idev=idev-1 done let idev=NUMBMCS-1 for bmcp in $BMCPW; do + if [ "$bmcp" = "" ]; then continue; fi TRIES=0 while ! ipmitool -d $idev user set password $USERSLOT $bmcp; do sleep 1