pass MYIP to openstack synchronizer
Change-Id: I1d88158f31eecde92b519390298b90043c7d2445
diff --git a/devel/Makefile b/devel/Makefile
index 992b3b4..2bf5f50 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -36,7 +36,7 @@
bootstrap:
echo "[BOOTSTRAP]"
sudo rm -f onboarding-docker-compose/docker-compose.yml
- sudo CONFIG_DIR=$(CONFIG_DIR) docker-compose -p $(BOOTSTRAP_PROJECT) -f $(BOOTSTRAP_YML) up -d
+ sudo CONFIG_DIR=$(CONFIG_DIR) MYIP=$(MYIP) docker-compose -p $(BOOTSTRAP_PROJECT) -f $(BOOTSTRAP_YML) up -d
bash ../common/wait_for_xos_port.sh $(XOS_BOOTSTRAP_PORT)
sudo docker-compose -p $(BOOTSTRAP_PROJECT) -f $(BOOTSTRAP_YML) run xos_bootstrap_ui python /opt/xos/tosca/run.py none - < ../common/fixtures.yaml
sudo docker-compose -p $(BOOTSTRAP_PROJECT) -f $(BOOTSTRAP_YML) run xos_bootstrap_ui python /opt/xos/tosca/run.py none - < ../common/mydeployment.yaml
diff --git a/devel/docker-compose-bootstrap.yml b/devel/docker-compose-bootstrap.yml
index f1a3864..f0123da 100644
--- a/devel/docker-compose-bootstrap.yml
+++ b/devel/docker-compose-bootstrap.yml
@@ -44,6 +44,8 @@
org.xosproject.target: openstack
links:
- xos_db
+ extra_hosts:
+ - ctl:${MYIP}
volumes:
- ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro
- ../setup:/root/setup:ro