summaryrefslogtreecommitdiffstats
path: root/mcp/scripts
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2020-01-20 12:21:22 +0000
committerGerrit Code Review <gerrit@opnfv.org>2020-01-20 12:21:22 +0000
commit294399f6436b56989e46c6d3ca5d3b4c69b51573 (patch)
treeffddbf9460ea1aa775f3b5c3c91bc5bcde819214 /mcp/scripts
parentb4f1800025a33b950ff66ed6c7b5ef9e2315f778 (diff)
parent2dc42cd75a3fc5ee4147c4180ba78ad415b09381 (diff)
Merge "all: Actually honor public DNS set in IDF" into stable/iruya
Diffstat (limited to 'mcp/scripts')
-rw-r--r--mcp/scripts/docker-compose/docker-compose.yaml.j28
1 files changed, 8 insertions, 0 deletions
diff --git a/mcp/scripts/docker-compose/docker-compose.yaml.j2 b/mcp/scripts/docker-compose/docker-compose.yaml.j2
index 82c4178b6..04dc93f98 100644
--- a/mcp/scripts/docker-compose/docker-compose.yaml.j2
+++ b/mcp/scripts/docker-compose/docker-compose.yaml.j2
@@ -37,6 +37,10 @@ services:
hostname: cfg01
domainname: {{ conf.cluster.domain }}
privileged: true
+ dns:
+{%- for server in nm.dns_public %}
+ - {{ server }}
+{%- endfor %}
{%- if nm.cluster.has_baremetal_nodes %}
opnfv-fuel-maas:
container_name: "maas"
@@ -63,6 +67,10 @@ services:
hostname: mas01
domainname: {{ conf.cluster.domain }}
privileged: true
+ dns:
+{%- for server in nm.dns_public %}
+ - {{ server }}
+{%- endfor %}
ports:
- 5240:5240
{%- endif %}