← Back to team overview

yahoo-eng-team team mailing list archive

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

 

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

-- 
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:
  Fix Released

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


References