2013-06-02 15:17:04 -07:00
|
|
|
package build
|
|
|
|
|
|
|
|
const helpText = `
|
2013-07-02 13:06:34 -07:00
|
|
|
Usage: packer build [options] TEMPLATE
|
2013-06-02 15:17:04 -07:00
|
|
|
|
2013-06-04 14:13:02 -07:00
|
|
|
Will execute multiple builds in parallel as defined in the template.
|
|
|
|
The various artifacts created by the template will be outputted.
|
|
|
|
|
|
|
|
Options:
|
|
|
|
|
2013-06-14 13:14:17 -07:00
|
|
|
-debug Debug mode enabled for builds
|
2013-07-11 23:43:23 -05:00
|
|
|
-force Force a build to continue if artifacts exist, deletes existing artifacts
|
2013-08-11 23:26:24 -07:00
|
|
|
-machine-readable Machine-readable output
|
2013-06-13 09:47:13 -07:00
|
|
|
-except=foo,bar,baz Build all builds other than these
|
2013-06-04 14:13:02 -07:00
|
|
|
-only=foo,bar,baz Only build the given builds by name
|
2014-03-12 21:34:33 -07:00
|
|
|
-parallel=false Disable parallelization (on by default)
|
2013-08-09 15:46:59 -07:00
|
|
|
-var 'key=value' Variable for templates, can be used multiple times.
|
2013-08-09 16:46:38 -07:00
|
|
|
-var-file=path JSON file containing user variables.
|
2013-06-02 15:17:04 -07:00
|
|
|
`
|