diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-01-23 12:17:31 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-01-23 12:17:31 +0000 |
commit | f5d9cf8756a272cbe46b92ca29e3db35d5ed1a92 (patch) | |
tree | c00389007515c00fee346869379cfad5cf15ba3c /kubernetes/common | |
parent | 70fc0f2694d1353ea93437fc49415598f147d0ca (diff) | |
parent | da1b8e6ca12be16f0d091ff73ac34943bd9dfbe3 (diff) |
Merge "[COMMON] Add missing ! in db_init.sh script"
Diffstat (limited to 'kubernetes/common')
-rwxr-xr-x | kubernetes/common/mariadb-init/resources/config/db_init.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/common/mariadb-init/resources/config/db_init.sh b/kubernetes/common/mariadb-init/resources/config/db_init.sh index 8caa697e79..b2fdb14b12 100755 --- a/kubernetes/common/mariadb-init/resources/config/db_init.sh +++ b/kubernetes/common/mariadb-init/resources/config/db_init.sh @@ -17,8 +17,8 @@ while read DB ; do USER_VAR="MYSQL_USER_${DB^^}" PASS_VAR="MYSQL_PASSWORD_${DB^^}" - USER=${USER_VAR} - PASS=${PASS_VAR} + USER=${!USER_VAR} + PASS=${!PASS_VAR} MYSQL_OPTS=( -h ${DB_HOST} -P ${DB_PORT} -uroot -p${MYSQL_ROOT_PASSWORD} ) echo "Creating database ${DB} and user ${USER}..." |