From 49d45620a15bde76d5da0d18e022840df59845b5 Mon Sep 17 00:00:00 2001 From: Jaganathan Palanisamy Date: Wed, 14 May 2025 10:38:07 +0530 Subject: [PATCH] Disable NetworkManager DNS config update This chenge is to prevent the DNS config update via NetworkManager for ifcfg provider and only set this edpm ansible variable 'edpm_bootstrap_network_resolvconf_update' true for supporting nmsate provider. --- .../proc_adopting-compute-services-to-the-data-plane.adoc | 4 ++++ tests/roles/dataplane_adoption/defaults/main.yaml | 1 + 2 files changed, 5 insertions(+) diff --git a/docs_user/modules/proc_adopting-compute-services-to-the-data-plane.adoc b/docs_user/modules/proc_adopting-compute-services-to-the-data-plane.adoc index c9408a53e..3f0957f2d 100644 --- a/docs_user/modules/proc_adopting-compute-services-to-the-data-plane.adoc +++ b/docs_user/modules/proc_adopting-compute-services-to-the-data-plane.adoc @@ -490,6 +490,10 @@ endif::[] {% endfor %} edpm_network_config_nmstate: false + # Control resolv.conf management by NetworkManager + # false = disable NetworkManager resolv.conf update (default) + # true = enable NetworkManager resolv.conf update + edpm_bootstrap_network_resolvconf_update: false edpm_network_config_hide_sensitive_logs: false # # These vars are for the network config templates themselves and are diff --git a/tests/roles/dataplane_adoption/defaults/main.yaml b/tests/roles/dataplane_adoption/defaults/main.yaml index 9ee836d4b..3b1c9f4e2 100644 --- a/tests/roles/dataplane_adoption/defaults/main.yaml +++ b/tests/roles/dataplane_adoption/defaults/main.yaml @@ -222,6 +222,7 @@ dataplane_cr: | {{ edpm_network_config_template| indent(10) }} edpm_network_config_nmstate: false + edpm_bootstrap_network_resolvconf_update: false edpm_network_config_hide_sensitive_logs: false # # These vars are for the network config templates themselves and are