From 9fd05c999591b3bc5da0e1edb0311d458e33fad3 Mon Sep 17 00:00:00 2001 From: Steven Pecht Date: Wed, 4 Jun 2014 13:06:31 -0400 Subject: [PATCH 1/2] Added documentation page for environmental variables. #1130 --- .../environmental-variables.html.markdown | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 website/source/docs/other/environmental-variables.html.markdown diff --git a/website/source/docs/other/environmental-variables.html.markdown b/website/source/docs/other/environmental-variables.html.markdown new file mode 100644 index 000000000..3fcc96be2 --- /dev/null +++ b/website/source/docs/other/environmental-variables.html.markdown @@ -0,0 +1,21 @@ +--- +layout: "docs" +--- + +# Environmental Variables for Packer + +Packer uses a variety of environmental variables. A listing and description of each can be found below: + +* 'PACKER_LOG' - Setting this to any value will enable the logger. See the [debugging page](docs/other/debugging.html). + +* 'PACKER_LOG_PATH' - The location of the log file. Note: 'PACKER_LOG' must be set for any logging to occur. See the [debugging page](docs/other/debugging.html). + +* 'PACKER_CONFIG' - The location of the core configuration file. The format of the configuration file is basic JSON. See the [core configuration page](docs/other/core-configuration.html). + +* 'PACKER_CACHE_DIR' - The location of the packer cache. + +* 'PACKER_PLUGIN_MIN_PORT' - The minimum port that Packer uses for communication with plugins, since plugin communication happens over TCP connections on your local host. The default is 10,000. See the [core configuration page](docs/other/core-configuration.html). + +* 'PACKER_PLUGIN_MAX_PORT' - The maximum port that Packer uses for communication with plugins, since plugin communication happens over TCP connections on your local host. The default is 25,000. See the [core configuration page](docs/other/core-configuration.html). + +* 'PACKER_NO_COLOR' - Setting this to any value will disable color in the terminal. From 45ba949f398432ca6feb4866b7c695fce023f45a Mon Sep 17 00:00:00 2001 From: Steven Pecht Date: Wed, 4 Jun 2014 15:59:48 -0400 Subject: [PATCH 2/2] Changed the ordering of the environmental variables to be alphabetic. --- .../docs/other/environmental-variables.html.markdown | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/website/source/docs/other/environmental-variables.html.markdown b/website/source/docs/other/environmental-variables.html.markdown index 3fcc96be2..2d5c15f59 100644 --- a/website/source/docs/other/environmental-variables.html.markdown +++ b/website/source/docs/other/environmental-variables.html.markdown @@ -6,16 +6,16 @@ layout: "docs" Packer uses a variety of environmental variables. A listing and description of each can be found below: -* 'PACKER_LOG' - Setting this to any value will enable the logger. See the [debugging page](docs/other/debugging.html). - -* 'PACKER_LOG_PATH' - The location of the log file. Note: 'PACKER_LOG' must be set for any logging to occur. See the [debugging page](docs/other/debugging.html). +* 'PACKER_CACHE_DIR' - The location of the packer cache. * 'PACKER_CONFIG' - The location of the core configuration file. The format of the configuration file is basic JSON. See the [core configuration page](docs/other/core-configuration.html). -* 'PACKER_CACHE_DIR' - The location of the packer cache. +* 'PACKER_LOG' - Setting this to any value will enable the logger. See the [debugging page](docs/other/debugging.html). -* 'PACKER_PLUGIN_MIN_PORT' - The minimum port that Packer uses for communication with plugins, since plugin communication happens over TCP connections on your local host. The default is 10,000. See the [core configuration page](docs/other/core-configuration.html). +* 'PACKER_LOG_PATH' - The location of the log file. Note: 'PACKER_LOG' must be set for any logging to occur. See the [debugging page](docs/other/debugging.html). + +* 'PACKER_NO_COLOR' - Setting this to any value will disable color in the terminal. * 'PACKER_PLUGIN_MAX_PORT' - The maximum port that Packer uses for communication with plugins, since plugin communication happens over TCP connections on your local host. The default is 25,000. See the [core configuration page](docs/other/core-configuration.html). -* 'PACKER_NO_COLOR' - Setting this to any value will disable color in the terminal. +* 'PACKER_PLUGIN_MIN_PORT' - The minimum port that Packer uses for communication with plugins, since plugin communication happens over TCP connections on your local host. The default is 10,000. See the [core configuration page](docs/other/core-configuration.html).