Set link authentication on for systems that care.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11035 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
dc2e7a3a15
commit
067ea7174d
@ -189,6 +189,13 @@ if [ "$CURRPRIV" != "ADMINISTRATOR" ]; then
|
||||
done
|
||||
TRIES=0
|
||||
fi
|
||||
TRIES=0
|
||||
while ! ipmitool -d $idev channel setaccess $LANCHAN $USERSLOT link=on; do
|
||||
sleep 1
|
||||
let TRIES=TRIES+1
|
||||
if [ $TRIES -gt $TIMEOUT ]; then break; fi
|
||||
done
|
||||
TRIES=0
|
||||
if [ "$CURRENTUSER" != "$bmcu" ]; then
|
||||
while ! ipmitool -d $idev user set name $USERSLOT $bmcu; do
|
||||
sleep 1
|
||||
|
Loading…
Reference in New Issue
Block a user