2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-06 10:18:20 +00:00

Skip slot detection on SR655

The firmware incorrectly describes slot 2 as 'name locked'
when it is in fact not.
This commit is contained in:
Jarrod Johnson
2020-04-27 10:45:54 -04:00
parent f851be0c26
commit 4c3124dcf5

View File

@@ -470,6 +470,7 @@ for user in $BMCUS; do
fi
if [ "$USERSLOT" == 0 -o -z "$LOCKEDUSERS" ]; then USERSLOT=2; fi
# automatically find first unlocked user slot
if ! [ "$IPMIMFG" = 19046 -a "$XPROD" = 1287 ]; then
for slot in {1..16}; do
USERLOCKED=`ipmitool channel getaccess $LANCHAN $slot | grep Fixed | awk '{print $4}'`
if [ "$USERLOCKED" == "No" ]; then
@@ -477,6 +478,7 @@ for user in $BMCUS; do
break
fi
done
fi
if [ "$ISITE" = 1 ]; then
allowcred.awk &
CREDPID=$!