github.com/aspring/packer@v0.8.1-0.20150629211158-9db281ac0f89/website/source/docs/other/environmental-variables.html.markdown (about)

     1  ---
     2  layout: "docs"
     3  page_title: "Environmental Variables for Packer"
     4  description: |-
     5    Packer uses a variety of environmental variables.
     6  ---
     7  
     8  # Environmental Variables for Packer
     9  
    10  Packer uses a variety of environmental variables. A listing and description of each can be found below:
    11  
    12  * `PACKER_CACHE_DIR` - The location of the packer cache.
    13  
    14  * `PACKER_CONFIG` - The location of the core configuration file. The format
    15       of the configuration file is basic JSON.
    16       See the [core configuration page](/docs/other/core-configuration.html).
    17  
    18  * `PACKER_LOG` - Setting this to any value will enable the logger.
    19       See the [debugging page](/docs/other/debugging.html).
    20  
    21  * `PACKER_LOG_PATH` - The location of the log file. Note: `PACKER_LOG` must
    22       be set for any logging to occur. See the [debugging page](/docs/other/debugging.html).
    23  
    24  * `PACKER_NO_COLOR` - Setting this to any value will disable color in the terminal.
    25  
    26  * `PACKER_PLUGIN_MAX_PORT` - The maximum port that Packer uses for
    27       communication with plugins, since plugin communication happens over
    28       TCP connections on your local host. The default is 25,000.
    29       See the [core configuration page](/docs/other/core-configuration.html).
    30  
    31  * `PACKER_PLUGIN_MIN_PORT` - The minimum port that Packer uses for
    32       communication with plugins, since plugin communication happens
    33       over TCP connections on your local host. The default is 10,000.
    34       See the [core configuration page](/docs/other/core-configuration.html).