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