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

Bug #1701420 reported by Lee Trager on 2017-06-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
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) on 2017-08-01
Changed in cloud-init:
status: New → Confirmed
importance: Undecided → Low

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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers