← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1100036] Re: update_etc_hosts broken for all distros but ubuntu

 

fixed in 0.7.2

** Changed in: cloud-init
       Status: Fix Committed => 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/1100036

Title:
  update_etc_hosts broken for all distros but ubuntu

Status in Init scripts for use on cloud images:
  Fix Released

Bug description:
  Right now hosts templates are named:
  - hosts.redhat.tmpl
  - hosts.ubuntu.tmpl

  As the code is written such that it calls:
  tpl_fn_name = cloud.get_template_filename("hosts.%s" %
                                                    (cloud.distro.name))

  This will only work for the 'ubuntu' distro.

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