diff options
author | dengyh <dengyuanhong@chinamobile.com> | 2020-06-23 14:43:00 +0800 |
---|---|---|
committer | Yuanhong Deng <dengyuanhong@chinamobile.com> | 2020-06-28 04:26:39 +0000 |
commit | dc6d989132a5db3077de6937158386aacd46400c (patch) | |
tree | 4f29f0b6d29e71852aff2105f0f016f98de1f635 /lcm/docker | |
parent | 649ddb83743de05ca5df0626de700ac24635fae7 (diff) |
Implementation of HTTPS support for VFC-vnflcm project interface
Change-Id: I8d4442657f3083e8449b94987324a630cf2d05a8
Issue-ID: VFC-1676
Signed-off-by: dengyh <dengyuanhong@chinamobile.com>
Diffstat (limited to 'lcm/docker')
-rwxr-xr-x | lcm/docker/instance_config.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lcm/docker/instance_config.sh b/lcm/docker/instance_config.sh index 18dbd6b8..0d2cd6c1 100755 --- a/lcm/docker/instance_config.sh +++ b/lcm/docker/instance_config.sh @@ -24,6 +24,10 @@ if [ $REG_TO_MSB_WHEN_START ]; then sed -i "s|REG_TO_MSB_WHEN_START = .*|REG_TO_MSB_WHEN_START = '$REG_TO_MSB_WHEN_START'|" vfc/gvnfm/vnflcm/lcm/lcm/pub/config/config.py fi +if [ $SSL_ENABLED ]; then + sed -i "s|SSL_ENABLED = .*|SSL_ENABLED = '$SSL_ENABLED'|" vfc/gvnfm/vnflcm/lcm/lcm/pub/config/config.py +fi + sed -i "s/127.0.0.1:80/$MSB_IP:$MSB_PORT/" vfc/gvnfm/vnflcm/lcm/lcm/pub/config/config.py # Configure MYSQL |