From: LiZi Date: Tue, 17 Apr 2018 11:11:59 +0000 (-0400) Subject: Remove the REG_TO_MSB switch. X-Git-Tag: v1.1.0~10 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=7c1b45e8c83456da2d26ec3a8c46c0658f4069cf;p=vfc%2Fnfvo%2Fcatalog.git Remove the REG_TO_MSB switch. Change-Id: Id84d31267555b89fb3ac507a9b38fc2961cd5306 Issue-ID: MSB-98 Signed-off-by: LiZi --- diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh index f1cf4f23..f02c9cce 100755 --- a/docker/docker-entrypoint.sh +++ b/docker/docker-entrypoint.sh @@ -5,11 +5,6 @@ if [ -z "$SERVICE_IP" ]; then fi echo "SERVICE_IP=$SERVICE_IP" -if [ -z "$REG_TO_MSB" ]; then - export REG_TO_MSB=True -fi -echo "REG_TO_MSB=$REG_TO_MSB" - if [ -z "$MYSQL_ROOT_PASSWORD" ]; then export MYSQL_ROOT_PASSWORD="root" fi diff --git a/docker/instance_config.sh b/docker/instance_config.sh index 2e0dfd57..c76770e3 100755 --- a/docker/instance_config.sh +++ b/docker/instance_config.sh @@ -11,10 +11,6 @@ if [ $MSB_PORT ]; then sed -i "s|MSB_SERVICE_PORT.*|MSB_SERVICE_PORT = '$MSB_PORT'|" vfc/nfvo/catalog/catalog/pub/config/config.py fi -if [ $REG_TO_MSB ]; then - sed -i "s|REG_TO_MSB_WHEN_START.*|REG_TO_MSB_WHEN_START = '$REG_TO_MSB'|" vfc/nfvo/catalog/catalog/pub/config/config.py -fi - if [ $SERVICE_IP ]; then sed -i "s|\"ip\": \".*\"|\"ip\": \"$SERVICE_IP\"|" vfc/nfvo/catalog/catalog/pub/config/config.py fi