summaryrefslogtreecommitdiffstats
path: root/vio/docker
diff options
context:
space:
mode:
authorliangke <lokyse@163.com>2017-09-20 13:05:30 +0800
committerliangke <lokyse@163.com>2017-09-20 19:27:38 +0800
commit0d081b4743d113be79edf5a1c0ce1078477619e3 (patch)
treee857fcfc77c7623454bcb3c18c8cbfffd2e9ae97 /vio/docker
parent344c1a5ba476987be054ead16bf88e99e71877b7 (diff)
Fix multicloud vio bugs
Change-Id: I707846d4c6a8ba0adb4e5666b2c74e9dc382d9c9 Issue-Id: MULTICLOUD-98 Signed-off-by: liangke <lokyse@163.com>
Diffstat (limited to 'vio/docker')
-rwxr-xr-xvio/docker/instance-config.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/vio/docker/instance-config.sh b/vio/docker/instance-config.sh
index 221cac9..cb05a9a 100755
--- a/vio/docker/instance-config.sh
+++ b/vio/docker/instance-config.sh
@@ -2,7 +2,7 @@
# Configure MSB IP address
MSB_IP=`echo $MSB_ADDR | cut -d: -f 1`
-MSB_PORT=`echo $MSB_ADDR | cut -d: -f 2`
+MSB_PORT=`echo $MSB_PORT | cut -d: -f 2`
sed -i "s|MSB_SERVICE_IP.*|MSB_SERVICE_IP = '$MSB_IP'|" vio/vio/pub/config/config.py
sed -i "s|MSB_SERVICE_PORT.*|MSB_SERVICE_PORT = '$MSB_PORT'|" vio/vio/pub/config/config.py
sed -i "s|DB_NAME.*|DB_NAME = 'inventory'|" vio/vio/pub/config/config.py