Use existing env vars

This commit is contained in:
Luke Murphy 2020-03-15 13:57:41 +01:00
parent d04bb34132
commit 3a881653b8
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -7,7 +7,7 @@ add_user() {
keycloak_add_user_script="/opt/jboss/keycloak/bin/add-user-keycloak.sh"
if $keycloak_add_user_script -r master -u "$ADMIN_USER" -p "$ADMIN_PASS"; then
if $keycloak_add_user_script -r master -u "$KEYCLOAK_USER" -p "$KEYCLOAK_PASSWORD"; then
echo "=====> root user added"
else
echo "=====> Failed to add root user"