From 4c3124dcf532718f61bbc14e540d664dd76ece04 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 27 Apr 2020 10:45:54 -0400 Subject: [PATCH] Skip slot detection on SR655 The firmware incorrectly describes slot 2 as 'name locked' when it is in fact not. --- xCAT-genesis-scripts/usr/bin/bmcsetup | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-genesis-scripts/usr/bin/bmcsetup b/xCAT-genesis-scripts/usr/bin/bmcsetup index 49b69f730..150cbeea8 100755 --- a/xCAT-genesis-scripts/usr/bin/bmcsetup +++ b/xCAT-genesis-scripts/usr/bin/bmcsetup @@ -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=$!