Implementation of HTTPS support for VFC-nslcm project interface
[vfc/nfvo/lcm.git] / docker / instance_config.sh
index 9b59331..25488fb 100755 (executable)
@@ -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`