diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2019-07-29 17:27:13 +0200 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2019-07-29 18:12:14 +0200 |
commit | 7a42faa5f2f719709cba436eac5059e54bf4acc5 (patch) | |
tree | 68e6f0deef9de10029d817cabb50afcf8542d14a /mcp/scripts/xdf_data.sh.j2 | |
parent | e482be713cd97e862637bec6f89d5c41fe40e549 (diff) |
[deploy] Explicitly set NS for resolvconf in VMs
With newer Ubuntu distros using netplan and systemd-resolve, we
can't rely on /etc/resolv.conf found on the Jumphost being usable
inside the guest VMs, so explicitly use the public network DNS
servers configured in PDF/IDF.
This will enable support for Jumpserver operating systems like Ubuntu
18.04.
Change-Id: I0c7e02d5c1b822f809ce818e739c19d0344f39f5
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp/scripts/xdf_data.sh.j2')
-rw-r--r-- | mcp/scripts/xdf_data.sh.j2 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mcp/scripts/xdf_data.sh.j2 b/mcp/scripts/xdf_data.sh.j2 index 032b00acf..79bc16c81 100644 --- a/mcp/scripts/xdf_data.sh.j2 +++ b/mcp/scripts/xdf_data.sh.j2 @@ -100,6 +100,7 @@ OPNFV_BRIDGES=( ) export CLUSTER_DOMAIN={{ conf.cluster.domain }} +dns_public={{ nm.dns_public[0] }} cluster_states={{ bash_arr(arch.default.cluster.states + cluster_states) }} virtual_nodes={{ filter_nodes('virtual') }} control_nodes_query={{ filter_nodes(['baremetal', 'virtual'], True, ['control']) }} |