diff options
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` |