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
This commit is contained in:
parent
a2caca7b04
commit
395fea4d8c
@ -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//`
|
||||
|
@ -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//`
|
||||
|
Loading…
Reference in New Issue
Block a user