From 395fea4d8c0974ff0c083d17c76582732c98fbc8 Mon Sep 17 00:00:00 2001 From: daniceexi Date: Fri, 14 Dec 2012 09:46:03 +0000 Subject: [PATCH] Add authority check to make remoteimmsetup to work git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14659 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-genesis-scripts/bin/bmcsetup | 3 +++ xCAT-nbroot2/bmcsetup | 3 +++ 2 files changed, 6 insertions(+) diff --git a/xCAT-genesis-scripts/bin/bmcsetup b/xCAT-genesis-scripts/bin/bmcsetup index cc293d3a5..f7fd76e5c 100755 --- a/xCAT-genesis-scripts/bin/bmcsetup +++ b/xCAT-genesis-scripts/bin/bmcsetup @@ -179,10 +179,13 @@ else USERSLOT=2 fi if [ "$ISITE" = 1 ]; then + allowcred.awk & + CREDPID=$! while ! remoteimmsetup do echo "Waiting for xCAT remote configuration of service processor via CMM.." done + kill $CREDPID fi CURRENTUSER=`ipmitool -d $idev user list $LANCHAN|grep ^$USERSLOT|awk '{print $2}'` DISABLEUSERS=`echo 1 2 3 4|sed -e s/$USERSLOT//` diff --git a/xCAT-nbroot2/bmcsetup b/xCAT-nbroot2/bmcsetup index cc293d3a5..f7fd76e5c 100755 --- a/xCAT-nbroot2/bmcsetup +++ b/xCAT-nbroot2/bmcsetup @@ -179,10 +179,13 @@ else USERSLOT=2 fi if [ "$ISITE" = 1 ]; then + allowcred.awk & + CREDPID=$! while ! remoteimmsetup do echo "Waiting for xCAT remote configuration of service processor via CMM.." done + kill $CREDPID fi CURRENTUSER=`ipmitool -d $idev user list $LANCHAN|grep ^$USERSLOT|awk '{print $2}'` DISABLEUSERS=`echo 1 2 3 4|sed -e s/$USERSLOT//`