2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 17:46:38 +00:00

Merge pull request #6513 from gurevichmark/bmc_pw_change_usage

Update BMC_change_password.sh usage
This commit is contained in:
besawn 2019-12-18 11:24:39 -05:00 committed by GitHub
commit f6e6389902
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,12 +11,25 @@
# - report error is password does not meet PAM validation rules
#
# Usage: $0 -r <ip_ranges> -n <new BMC Password>
# Note: If this script is being used in the process of discovering new BMCs,
# the new BMC password should be passed to bmcdiscover command
# using the [-p|--bmcpasswd] option.
##########################################################################
if [ $# -le 3 ]; then
echo "
Change the default root or ADMIN password of the BMC to the one
specified by '-n' flag. Use the same password when discovering new
BMCs, by passing it with '[-p|--bmcpasswd]' option to 'bmcdiscover' command.
"
echo "Usage:"
echo " $0 -r <ip_ranges> -n <new BMC Password> "
echo "Examples:"
echo " Target one node:"
echo " $0 -r 172.11.139.1 -n 0penBmc123:"
echo " Target a range of nodes:"
echo " $0 -r 172.11.139.1-12 -n 0penBmc123:"
exit
fi