Use existing env vars
This commit is contained in:
parent
d04bb34132
commit
3a881653b8
@ -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"
|
||||
|
Reference in New Issue
Block a user