summaryrefslogtreecommitdiffstats
path: root/res/docker
diff options
context:
space:
mode:
authorying.yunlong <ying.yunlong@zte.com.cn>2017-09-11 13:55:02 +0800
committerying.yunlong <ying.yunlong@zte.com.cn>2017-09-11 13:55:02 +0800
commitda60cf087c2089784060467537aa3f02d0098d77 (patch)
tree42c434debc641725294b0d1980374a10cadcde15 /res/docker
parentf2be88e4efd945b9129264df132a5aa818972afb (diff)
Fix db info in docker build scripts
Change-Id: I8972581ca1a3b6557a7924323cdf8e7a925a978c Issue-ID: VFC-324 Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
Diffstat (limited to 'res/docker')
-rwxr-xr-xres/docker/instance_config.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/res/docker/instance_config.sh b/res/docker/instance_config.sh
index e98175e..0d12bf8 100755
--- a/res/docker/instance_config.sh
+++ b/res/docker/instance_config.sh
@@ -21,9 +21,9 @@ if [ $REDIS_HOST ]; then
sed -i "s|REDIS_HOST.*|REDIS_HOST = '$REDIS_HOST'|" vfc/gvnfm/vnfres/res/res/pub/config/config.py
fi
-sed -i "s|DB_NAME.*|DB_NAME = 'vfcvnfres'|" vfc/gvnfm/vnfres/res/res/pub/config/config.py
-sed -i "s|DB_USER.*|DB_USER = 'vfcvnfres'|" vfc/gvnfm/vnfres/res/res/pub/config/config.py
-sed -i "s|DB_PASSWD.*|DB_PASSWD = 'vfcvnfres'|" vfc/gvnfm/vnfres/res/res/pub/config/config.py
+sed -i "s|DB_NAME.*|DB_NAME = 'gvnfm'|" vfc/gvnfm/vnfres/res/res/pub/config/config.py
+sed -i "s|DB_USER.*|DB_USER = 'gvnfm'|" vfc/gvnfm/vnfres/res/res/pub/config/config.py
+sed -i "s|DB_PASSWD.*|DB_PASSWD = 'gvnfm'|" vfc/gvnfm/vnfres/res/res/pub/config/config.py
# Configure MYSQL
if [ -z "$MYSQL_ADDR" ]; then