github.com/ratanraj/packer@v1.3.2/website/source/docs/other/core-configuration.html.md (about)

     1  ---
     2  description: |
     3      There are a few configuration settings that affect Packer globally by
     4      configuring the core of Packer. These settings all have reasonable defaults,
     5      so you generally don't have to worry about it until you want to tweak a
     6      configuration.
     7  layout: docs
     8  page_title: 'Core Configuration - Other'
     9  sidebar_current: 'docs-other-core-configuration'
    10  ---
    11  
    12  # Core Configuration
    13  
    14  There are a few configuration settings that affect Packer globally by
    15  configuring the core of Packer. These settings all have reasonable defaults, so
    16  you generally don't have to worry about it until you want to tweak a
    17  configuration. If you're just getting started with Packer, don't worry about
    18  core configuration for now.
    19  
    20  The default location where Packer looks for this file depends on the platform.
    21  For all non-Windows platforms, Packer looks for `$HOME/.packerconfig`. For
    22  Windows, Packer looks for `%APPDATA%/packer.config`. If the file doesn't exist,
    23  then Packer ignores it and just uses the default configuration.
    24  
    25  The location of the core configuration file can be modified by setting the
    26  `PACKER_CONFIG` environmental variable to be the path to another file.
    27  
    28  The format of the configuration file is basic JSON.
    29  
    30  ## Configuration Reference
    31  
    32  Below is the list of all available configuration parameters for the core
    33  configuration file. None of these are required, since all have sane defaults.
    34  
    35  -   `plugin_min_port` and `plugin_max_port` (number) - These are the minimum and
    36      maximum ports that Packer uses for communication with plugins, since plugin
    37      communication happens over TCP connections on your local host. By default
    38      these are 10,000 and 25,000, respectively. Be sure to set a fairly wide range
    39      here, since Packer can easily use over 25 ports on a single run.
    40  
    41  -   `builders`, `commands`, `post-processors`, and `provisioners` are objects that
    42      are used to install plugins. The details of how exactly these are set is
    43      covered in more detail in the [installing plugins documentation
    44      page](/docs/extending/plugins.html).