2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-06 02:08:25 +00:00

Support longer passwords in bmcsetup

This commit is contained in:
Jarrod Johnson
2020-03-18 10:28:33 -04:00
parent 2acd60eeda
commit 78fa77584e

View File

@@ -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