summaryrefslogtreecommitdiffstats
path: root/mgr/docker/instance_config.sh
diff options
context:
space:
mode:
authordengyh <dengyuanhong@chinamobile.com>2020-06-23 16:59:57 +0800
committerYuanhong Deng <dengyuanhong@chinamobile.com>2020-06-28 04:24:39 +0000
commit007b688fd4064f65e09bfac2f2ec941a642875c2 (patch)
treec89acd18dfbc3c1d3a5c1b21f8d04ffacf7b6bba /mgr/docker/instance_config.sh
parente1e33f410b870a7d4f44b1d4eab48cabe5f53d51 (diff)
Implementation of HTTPS support for VFC-vnfmgr project interface
Change-Id: I7ee9e2691e2584aa196fa158d7b15c7fd841c577 Issue-ID: VFC-1676 Signed-off-by: dengyh <dengyuanhong@chinamobile.com>
Diffstat (limited to 'mgr/docker/instance_config.sh')
-rwxr-xr-xmgr/docker/instance_config.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/mgr/docker/instance_config.sh b/mgr/docker/instance_config.sh
index e1ad7e1..81f46be 100755
--- a/mgr/docker/instance_config.sh
+++ b/mgr/docker/instance_config.sh
@@ -24,6 +24,10 @@ if [ $SERVICE_IP ]; then
sed -i "s|\"ip\": \".*\"|\"ip\": \"$SERVICE_IP\"|" vfc/gvnfm/vnfmgr/mgr/mgr/pub/config/config.py
fi
+if [ $SSL_ENABLED ]; then
+ sed -i "s|SSL_ENABLED = .*|SSL_ENABLED = '$SSL_ENABLED'|" vfc/gvnfm/vnfmgr/mgr/mgr/pub/config/config.py
+fi
+
# Configure MYSQL
MYSQL_IP=`echo $MYSQL_ADDR | cut -d: -f 1`
MYSQL_PORT=`echo $MYSQL_ADDR | cut -d: -f 2`