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

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