diff options
Diffstat (limited to 'res/docker')
-rwxr-xr-x | res/docker/instance_config.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/res/docker/instance_config.sh b/res/docker/instance_config.sh index c770a2b..3cac097 100755 --- a/res/docker/instance_config.sh +++ b/res/docker/instance_config.sh @@ -24,6 +24,10 @@ if [ $SERVICE_IP ]; then sed -i "s|\"ip\": \".*\"|\"ip\": \"$SERVICE_IP\"|" vfc/gvnfm/vnfres/res/res/pub/config/config.py fi +if [ $SSL_ENABLED ]; then + sed -i "s|SSL_ENABLED = .*|SSL_ENABLED = '$SSL_ENABLED'|" vfc/gvnfm/vnfres/res/res/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` |