← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1701420] [NEW] Created by cloud-init comment being added on every reboot to /etc/resolv.conf

 

Public bug reported:

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

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
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/1701420

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

Status in cloud-init:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1701420/+subscriptions


Follow ups