Created by cloud-init comment being added on every reboot to /etc/resolv.conf
Bug #1701420 reported by
Lee Trager
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Low
|
Unassigned |
Bug Description
Every time I reboot a system which has its networking configured by cloud-init the following comment is added
; Created by cloud-init on instance boot automatically, do not edit.
For example I've rebooted the system 3 times and have the following config
# cat /etc/resolv.conf
; Created by cloud-init on instance boot automatically, do not edit.
;
; Created by cloud-init on instance boot automatically, do not edit.
;
; Created by cloud-init on instance boot automatically, do not edit.
;
nameserver 10.0.0.2
search maas
Using cloud-init-
Related branches
~raharper/cloud-init:sysconfig-resolvconf-duplicate-header-lp1701420
- Server Team CI bot: Needs Fixing (continuous-integration)
- cloud-init Commiters: Pending requested
-
Diff: 31 lines (+8/-1)2 files modifiedcloudinit/net/sysconfig.py (+5/-1)
tests/unittests/test_net.py (+3/-0)
Changed in cloud-init: | |
status: | New → Confirmed |
importance: | Undecided → Low |
To post a comment you must log in.
This bug is believed to be fixed in cloud-init in 17.1. If this is still a problem for you, please make a comment and set the state back to New
Thank you.