From 9f5c63b0d356813c6a4522aa734fc23d0df019be Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Fri, 19 Jun 2015 16:03:58 +0200 Subject: [PATCH] nodepool: describe nodepool-base env variables The nodepool-base element relies on a couple environement variables. Describe NODEPOOL_SCRIPTDIR and NODEPOOL_STATIC_NAMESERVER in the README.rst file. Change-Id: I56f2aab095a0504e19598d7296d072e7a51b07c2 --- nodepool/elements/nodepool-base/README.rst | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/nodepool/elements/nodepool-base/README.rst b/nodepool/elements/nodepool-base/README.rst index ec1436dded..4c82762a08 100644 --- a/nodepool/elements/nodepool-base/README.rst +++ b/nodepool/elements/nodepool-base/README.rst @@ -1 +1,16 @@ -Tasks to deal with image metadata and other nodepool cloud specific tweaks. +============= +nodepool-base +============= + +Tasks to deal with image metadata and other Nodepool cloud specific tweaks. + +Environment variables: + +`NODEPOOL_SCRIPTDIR` path to copy Nodepool scripts from. It is set +automatically by Nodepool. For local hacking override it to where your scripts +are. Default: +`$TMP_MOUNT_PATH/opt/git/openstack-infra/project-config/nodepool/scripts`. + +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`, default: `8.8.8.8`.