aboutsummaryrefslogtreecommitdiffstats
path: root/boot
diff options
context:
space:
mode:
authorHuabingZhao <zhao.huabing@zte.com.cn>2017-10-17 16:20:50 +0800
committerHuabingZhao <zhao.huabing@zte.com.cn>2017-10-17 16:20:54 +0800
commit9e708af617cd2446c3ea47c842947af5948ee915 (patch)
tree3c36fcc459ce7198c73f7bc656eba7cc1ac45265 /boot
parentf79590758d6cce11b10d9257af798c8f8bc10f1e (diff)
Set consul version to 0.9.3
MSB can't work with the latest consul 1.0.0. Issue-Id: MSB-77 Change-Id: Ic822c12f1971aa4dc3fcf8075747e703a7b27622 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'boot')
-rw-r--r--boot/msb_vm_init.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/msb_vm_init.sh b/boot/msb_vm_init.sh
index e478281d..da98f42a 100644
--- a/boot/msb_vm_init.sh
+++ b/boot/msb_vm_init.sh
@@ -16,7 +16,7 @@ docker rm -f msb_consul
docker rm -f msb_discovery
docker rm -f msb_apigateway
-docker run -d -p 8500:8500 --name msb_consul consul
+docker run -d -p 8500:8500 --name msb_consul consul:0.9.3
CONSUL_IP=`sudo docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' msb_consul`
docker run -d -p 10081:10081 -e CONSUL_IP=$CONSUL_IP --name msb_discovery $NEXUS_DOCKER_REPO/onap/msb/msb_discovery:$DOCKER_IMAGE_VERSION