resolv.conf on CentOS 7/RHEL 7 is NetworkManager managed
Bug #1620807 reported by
Bert JW Regeer
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Expired
|
Medium
|
Unassigned |
Bug Description
Related to https:/
/etc/resolv.conf
# Generated by NetworkManager
search novalocal
# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/
#
# DNS1=xxx.
# DNS2=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.
Related branches
~bregeer-ctl/cloud-init:bugfix/centos7_resolv
Rejected
for merging
into
cloud-init:master
- Bert JW Regeer (community): Disapprove
- cloud-init Commiters: Pending requested
-
Diff: 64 lines (+24/-3)1 file modifiedcloudinit/net/sysconfig.py (+24/-3)
tags: | added: rhel |
tags: | added: centos |
Changed in cloud-init: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
To post a comment you must log in.
I've resolved this in this branch: https:/ /code.launchpad .net/~bregeer- ctl/cloud- init/+git/ cloud-init/ +ref/bugfix/ centos7_ resolv
Launchpad is unable to find it though, so I can't link it.