~cloud-init-dev/cloud-init/trunk

Viewing all changes in revision 769.

  • Committer: Joshua Harlow
  • Date: 2013-01-26 01:11:33 UTC
  • mfrom: (760.1.3 resolv-conf-config)
  • Revision ID: harlowja@yahoo-inc.com-20130126011133-g4t012be5q5sj51g
Adding a resolv.conf configuration module (LP: #1100434)

Managing resolv.conf can be quite handy when running in an environment
where you would like to control DNS resolution, despite being provided
DNS server information by DHCP. This module will allow one to define the
 structure of their resolv.conf and write it PER_ONCE.

Right now this makes the most sense on RedHat, and therefore, has defined 'distros' as such.

Note that when a config drive is used, and dhcp is not used that this module
may not be applicable since in the RedHat based distros the config drive typically
contains a ubuntu style network configuration which contains nameservers that can
be used in /etc/resolv.conf, but for other types of datasources it is useful to
have a module which can be specifically configured to write out /etc/resolv.conf

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: