github.com/askholme/packer@v0.7.2-0.20140924152349-70d9566a6852/website/source/docs/other/environmental-variables.html.markdown (about)

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