Tracked in Github Issues as https://github.com/canonical/cloud- init/issues/2719
** Bug watch added: github.com/canonical/cloud-init/issues #2719 https://github.com/canonical/cloud-init/issues/2719 ** Changed in: cloud-init Status: Confirmed => Expired -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to cloud-init. https://bugs.launchpad.net/bugs/1620807 Title: resolv.conf on CentOS 7/RHEL 7 is NetworkManager managed Status in cloud-init: Expired Bug description: Related to https://bugs.launchpad.net/cloud-init/+bug/1620796 I have found that even when I have fixed cloud-init to properly write resolv.conf it gets overwritten as soon as network is started because NetworkManager takes over control: /etc/resolv.conf # Generated by NetworkManager search novalocal # No nameservers found; try putting DNS servers into your # ifcfg files in /etc/sysconfig/network-scripts like so: # # DNS1=xxx.xxx.xxx.xxx # DNS2=xxx.xxx.xxx.xxx # DOMAIN=lab.foo.com bar.foo.com instead any DNS entries should be added directly to the ifcfg-eth* files that are generated, then let NM figure out what DNS resolvers it wants to add to /etc/resolv.conf. To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1620807/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp