-
Task
-
Resolution: Done
-
Normal
-
None
-
None
-
None
-
rhel-sst-virtualization-networking
-
ssg_virtualization
-
1
-
False
-
Source: https://gitlab.com/redhat/centos-stream/src/cloud-init/-/merge_requests/116
Jira: https://issues.redhat.com/browse/RHEL-65768
In the change under PR #5401, we use global DNS configuration as well as
DNS and search domain information from interface config and use it to populate
/etc/resolv.conf. Therefore, if either or both global DNS/search domain config
is present along with per-interface DNS/search domain information, we should add
a network manager configuration to prevent network manager from manipulating
/etc/resolv.conf.
This is in addition to what we already do when only global DNS data is
configured.
Fixes bug added in 1b8030e0 .
Signed-off-by: Ani Sinha <anisinha@redhat.com>
(cherry picked from commit 2df49b652471999434f06d9d83ed9db8b4055895)