aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiZi <li.zi30@zte.com.cn>2018-04-17 07:11:59 -0400
committerLiZi <li.zi30@zte.com.cn>2018-04-17 07:23:18 -0400
commit7c1b45e8c83456da2d26ec3a8c46c0658f4069cf (patch)
tree2b87309c50180b2f47876a3cbe9f7b60407b1762
parent147657d58706704581be2550728155bf355da291 (diff)
Remove the REG_TO_MSB switch.
Change-Id: Id84d31267555b89fb3ac507a9b38fc2961cd5306 Issue-ID: MSB-98 Signed-off-by: LiZi <li.zi30@zte.com.cn>
-rwxr-xr-xdocker/docker-entrypoint.sh5
-rwxr-xr-xdocker/instance_config.sh4
2 files changed, 0 insertions, 9 deletions
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