diff options
author | 2020-06-19 11:04:24 +0800 | |
---|---|---|
committer | 2020-06-23 03:06:54 +0000 | |
commit | cb01ac28c8ebddd297f4689f4ef0300d490e6f82 (patch) | |
tree | fdca1c515b1f941f352b0b27c4c1a5e18914448c /docker/instance_config.sh | |
parent | e907a196483aeb96b3e25b32df592ef74463e41d (diff) |
Implementation of HTTPS support for VFC-nslcm project interface
Change-Id: I268bc463ab69cd4a79fd5801db09bad3e11b6eb1
Issue-ID: VFC-1676
Signed-off-by: dengyh <dengyuanhong@chinamobile.com>
Diffstat (limited to 'docker/instance_config.sh')
-rwxr-xr-x | docker/instance_config.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/instance_config.sh b/docker/instance_config.sh index 9b593312..25488fbf 100755 --- a/docker/instance_config.sh +++ b/docker/instance_config.sh @@ -37,6 +37,10 @@ if [ $SERVICE_IP ]; then sed -i "s|\"ip\": \".*\"|\"ip\": \"$SERVICE_IP\"|" vfc/nfvo/lcm/lcm/pub/config/config.py fi +if [ $SSL_ENABLED ]; then + sed -i "s|SSL_ENABLED.*|SSL_ENABLED = '$SSL_ENABLED'|" vfc/nfvo/lcm/lcm/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` |