mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-19 09:40:21 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user