github.com/kikitux/packer@v0.10.1-0.20160322154024-6237df566f9f/website/source/docs/other/environmental-variables.html.md (about)

     1  ---
     2  description: 'Packer uses a variety of environmental variables.'
     3  layout: docs
     4  page_title: Environmental Variables for Packer
     5  ...
     6  
     7  # Environmental Variables for Packer
     8  
     9  Packer uses a variety of environmental variables. A listing and description of
    10  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 of
    15      the configuration file is basic JSON. See the [core configuration
    16      page](/docs/other/core-configuration.html).
    17  
    18  -   `PACKER_LOG` - Setting this to any value will enable the logger. See the
    19      [debugging page](/docs/other/debugging.html).
    20  
    21  -   `PACKER_LOG_PATH` - The location of the log file. Note: `PACKER_LOG` must be
    22      set for any logging to occur. See the [debugging
    23      page](/docs/other/debugging.html).
    24  
    25  -   `PACKER_NO_COLOR` - Setting this to any value will disable color in
    26      the terminal.
    27  
    28  -   `PACKER_PLUGIN_MAX_PORT` - The maximum port that Packer uses for
    29      communication with plugins, since plugin communication happens over TCP
    30      connections on your local host. The default is 25,000. See the [core
    31      configuration page](/docs/other/core-configuration.html).
    32  
    33  -   `PACKER_PLUGIN_MIN_PORT` - The minimum port that Packer uses for
    34      communication with plugins, since plugin communication happens over TCP
    35      connections on your local host. The default is 10,000. See the [core
    36      configuration page](/docs/other/core-configuration.html).
    37  
    38  -   `CHECKPOINT_DISABLE` - When Packer is invoked it sometimes calls out to
    39      [checkpoint.hashicorp.com](https://checkpoint.hashicorp.com/) to look for
    40      new versions of Packer. If you want to disable this for security or privacy
    41      reasons, you can set this environment variable to `1`.