We are experiencing a problem with
resolv.confconfiguration on RHEL 7.7.
During the first boot, the nameservers have been configured well from OpenStack subnet metadata:
$ cat etc/resolv.conf ; Created by cloud-init on instance boot automatically, do not edit. ; # Generated by NetworkManager search domain.com nameserver 172.16.16.16 nameserver 172.16.16.17
- After a reboot,
resolv.confhas been cleared by NetworkManager.:
$ cat etc/resolv.conf # Generated by NetworkManager
- The cloud-init service created a special configuration for NetworkManager and NetworkManager should not change
resolv.confbut it still changed it.
- Red Hat Enterprise Linux 7.7 (RHEL)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.