summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authordyh <dengyuanhong@chinamobile.com>2020-04-21 14:32:32 +0800
committerdyh <dengyuanhong@chinamobile.com>2020-04-21 14:43:46 +0800
commitf2260263c4b8170aebae0ccc02bf4300d530dd70 (patch)
tree7ace370a302131fec0367927308ec134509277a8 /docker
parentc21736556404f4ec9a5aadeb0b551bf8f158f660 (diff)
fix value of MSB address
Issue-ID: MODELING-356 Change-Id: I666b76fe11facb190f9b169c53e4ab7e7812157f Signed-off-by: dyh <dengyuanhong@chinamobile.com>
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/instance_config.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/instance_config.sh b/docker/instance_config.sh
index bc5c02b..090789b 100755
--- a/docker/instance_config.sh
+++ b/docker/instance_config.sh
@@ -5,11 +5,11 @@ MSB_PORT=`echo $MSB_ADDR | cut -d: -f 2`
# modeling/etsicatalog
if [ $MSB_IP ]; then
- sed -i "s|MSB_SERVICE_IP.*|MSB_SERVICE_IP = '$MSB_IP'|" modeling/etsicatalog/catalog/pub/config/config.py
+ sed -i "s|MSB_SERVICE_IP = .*|MSB_SERVICE_IP = '$MSB_IP'|" modeling/etsicatalog/catalog/pub/config/config.py
fi
if [ $MSB_PORT ]; then
- sed -i "s|MSB_SERVICE_PORT.*|MSB_SERVICE_PORT = '$MSB_PORT'|" modeling/etsicatalog/catalog/pub/config/config.py
+ sed -i "s|MSB_SERVICE_PORT = .*|MSB_SERVICE_PORT = '$MSB_PORT'|" modeling/etsicatalog/catalog/pub/config/config.py
fi
if [ $SERVICE_IP ]; then