project-config/nodepool/elements/nodepool-base
Cédric Jeanneret 916b043710 Ensure NetworkManager doesn't override /etc/resolv.conf
Until now, whenever NetworkManager gets reloaded/restarted/lease
refresh, it would override the /etc/resolv.conf file with the
nameservers and related it gets from the network.

This patch ensures this won't happen ever again.

Note: this is a corrected version of
I92bc12b8f712e28962d24dd6474cfce22b81222c
that was reverted due to indentation + use of ConfigParser issues.

Change-Id: I48560641238911154cc9f353f707a9374613e51a
2022-12-02 15:10:41 +01:00
..
cleanup.d Remove root user .cache folder 2017-04-20 15:22:28 -04:00
environment.d Switch from 1.1.1.1 to 1.0.0.1 2019-04-25 13:14:53 +00:00
finalise.d Ensure NetworkManager doesn't override /etc/resolv.conf 2022-12-02 15:10:41 +01:00
glean@.service.d Create glean@.service.d/override.conf 2017-08-18 16:28:54 -04:00
install.d nodepool elements: fix pip upgrade venv 2022-07-06 13:27:58 +10:00
post-install.d Add Rocky Linux to nodepool elements tooling 2022-02-15 17:31:34 -05:00
pre-install.d Stop installing and running puppet in node builds 2017-04-27 23:23:32 +02:00
root.d Fix apt-phased-updates 2022-05-04 17:56:39 +02:00
element-deps nodepool-elements: Use venv for utilities 2020-03-11 10:12:00 +11:00
package-installs.yaml Manage unbound on zuul workers in DIB 2017-04-04 09:32:36 +02:00
README.rst Restore blank nodepool/scripts 2020-03-03 15:01:23 +11:00

nodepool-base

Tasks to deal with image metadata and other Nodepool cloud specific tweaks.

Name resolution

The image should have the unbound DNS resolver package installed, the nodepool-base element then configures it to forward DNS queries to:

NODEPOOL_STATIC_NAMESERVER_V4, default: 1.0.0.1 NODEPOOL_STATIC_NAMESERVER_V4_FALLBACK, default: 8.8.8.8.

If NODEPOOL_STATIC_NAMESERVER_POPULATE_IPV6 is set to 1 then the following two servers will be configured as forwarders too

NODEPOOL_STATIC_NAMESERVER_V6, default: 2606:4700:4700::1111 NODEPOOL_STATIC_NAMESERVER_V6_FALLBACK, default: 2001:4860:4860::8888

Note externally setting either of these values implies NODEPOOL_STATIC_NAMESERVER_POPULATE_IPV6=1