diff options
author | yangyan <yangyanyj@chinamobile.com> | 2019-02-02 11:26:01 +0800 |
---|---|---|
committer | yangyan <yangyanyj@chinamobile.com> | 2019-02-02 11:31:34 +0800 |
commit | 210c1ecb82a7f449aad19c06472f12222f28bba3 (patch) | |
tree | 351e7c33fe76067d51fc92fc6d01583228a1321d /docker/instance_config.sh | |
parent | 13f562633096e34d8c697e61fce7a0b7536810c1 (diff) |
SDC user and passwd injected via Env
Issue-ID: VFC-1260
Change-Id: I090b26a6308874366effc3587689e441ef7155d9
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'docker/instance_config.sh')
-rwxr-xr-x | docker/instance_config.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/instance_config.sh b/docker/instance_config.sh index 04ec38e6..824216c6 100755 --- a/docker/instance_config.sh +++ b/docker/instance_config.sh @@ -23,4 +23,7 @@ sed -i "s|DB_IP.*|DB_IP = '$MYSQL_IP'|" vfc/nfvo/catalog/catalog/pub/config/conf sed -i "s|DB_PORT.*|DB_PORT = $MYSQL_PORT|" vfc/nfvo/catalog/catalog/pub/config/config.py sed -i "s|REDIS_HOST.*|REDIS_HOST = '$MYSQL_IP'|" vfc/nfvo/catalog/catalog/pub/config/config.py +sed -i "s|SDC_USER.*|SDC_USER = '$SDC_USER'|" vfc/nfvo/catalog/catalog/pub/config/config.py +sed -i "s|SDC_PASSWD.*|SDC_PASSWD = $SDC_PASSWD|" vfc/nfvo/catalog/catalog/pub/config/config.py + cat vfc/nfvo/catalog/catalog/pub/config/config.py |