Modify VES configuration
[vfc/nfvo/driver/ems.git] / ems / microservice-standalone / src / main / assembly / docker / instance_config.sh
index f0142b4..4968343 100755 (executable)
@@ -5,7 +5,13 @@ MSB_PORT=`echo $MSB_ADDR | cut -d: -f 2`
 
 sed -i "s|msbAddress.*|msbAddress: $MSB_IP:$MSB_PORT|" emsdriver/conf/emsdriver.yml
 sed -i "s|\"ip\": \".*\"|\"ip\": \"$SERVICE_IP\"|" emsdriver/conf/emsdriver.yml
+sed -i "s|msbAddress=.*|msbAddress=$MSB_IP:$MSB_PORT|" emsdriver/conf/config.properties
+sed -i "s|event_api_url=.*|event_api_url=$EVENT_API_URL|" emsdriver/conf/config.properties
+sed -i "s|port=.*|port=$PORT|" emsdriver/conf/config.properties
+sed -i "s|username=.*|username=$USER_NAME|" emsdriver/conf/config.properties
+sed -i "s|password=.*|password=$PASSWORD|" emsdriver/conf/config.properties
 
 
 cat emsdriver/conf/emsdriver.yml
+cat emsdriver/conf/config.properties