Merge "Do not require the bootstrap password to come in via arguments"

This commit is contained in:
Zuul 2018-04-18 07:27:03 +00:00 committed by Gerrit Code Review
commit d99fde03e1
1 changed files with 5 additions and 0 deletions

View File

@ -9,6 +9,11 @@ set -x
USERNAME=$1
PASSWORD=$2
if [ -z "$PASSWORD" ]; then
# Avoid having the password always come in via CLI (which makes
# it show up in things like ara)
PASSWORD="$OS_BOOTSTRAP_PASSWORD"
fi
PROJECT=$3
ROLE=$4
ADMIN_URL=$5