pass CTLIP through to XOS
Change-Id: I94ab08d87beebf37c00565808ec49ede2c7acf49
diff --git a/devel/Makefile b/devel/Makefile
index 0a2a6ef..d4d9291 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -33,7 +33,7 @@
update_services:
make -f ../common/Makefile.services update
-bootstrap:
+bootstrap: xos.yaml
echo "[BOOTSTRAP]"
sudo rm -f onboarding-docker-compose/docker-compose.yml
sudo CONFIG_DIR=$(CONFIG_DIR) MYIP=$(MYIP) docker-compose -p $(BOOTSTRAP_PROJECT) -f $(BOOTSTRAP_YML) up -d
@@ -42,6 +42,9 @@
sudo docker-compose -p $(BOOTSTRAP_PROJECT) -f $(BOOTSTRAP_YML) run xos_bootstrap_ui python /opt/xos/tosca/run.py none - < ../common/mydeployment.yaml
$(RUN_TOSCA_BOOTSTRAP) xos.yaml
+xos.yaml: xos.m4
+ m4 -D CTLIP=$(MYIP) < xos.m4 > xos.yaml
+
onboarding:
echo "[ONBOARDING]"
# on-board any services here
diff --git a/devel/xos.yaml b/devel/xos.m4
similarity index 97%
rename from devel/xos.yaml
rename to devel/xos.m4
index 20852d1..cf20886 100644
--- a/devel/xos.yaml
+++ b/devel/xos.m4
@@ -14,6 +14,7 @@
bootstrap_ui_port: 9998
docker_project_name: devel
db_container_name: develbs_xos_db_1
+ extra_hosts: ctl:CTLIP
/opt/xos/xos_configuration/xos_common_config:
type: tosca.nodes.XOSVolume