From 78fa77584e555e9d2c22382acafbc4c3fea6fd52 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 18 Mar 2020 10:28:33 -0400 Subject: [PATCH] Support longer passwords in bmcsetup --- xCAT-genesis-scripts/usr/bin/bmcsetup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-genesis-scripts/usr/bin/bmcsetup b/xCAT-genesis-scripts/usr/bin/bmcsetup index bc0dbf899..49b69f730 100755 --- a/xCAT-genesis-scripts/usr/bin/bmcsetup +++ b/xCAT-genesis-scripts/usr/bin/bmcsetup @@ -559,7 +559,7 @@ for bmcp in $BMCPW; do TRIES=0 # Set the password for the specified user - while ! ipmitool -d $idev user set password $USERSLOT "$bmcp"; do + while ! ipmitool -d $idev user set password $USERSLOT "$bmcp" 20; do sleep 1 let TRIES=TRIES+1 if [ $TRIES -gt $TIMEOUT ]; then break; fi