Created by cloud-init comment being added on every reboot to /etc/resolv.conf

Bug #1701420 reported by Lee Trager
6
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-0.7.9+191.g0bcb95a-1.el7.centos.noarch from http://copr-be.cloud.fedoraproject.org/results/@cloud-init/cloud-init-curtin/epel-7-x86_64

Related branches

Scott Moser (smoser)
Changed in cloud-init:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Scott Moser (smoser) wrote : Fixed in Cloud-init 17.1

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.

Changed in cloud-init:
status: Confirmed → Fix Released
Revision history for this message
James Falcon (falcojr) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.