mirror of https://github.com/hashicorp/packer
clarify onlyexcept docs further (#10679)
parent
eea215adf9
commit
751038cd6d
@ -1,7 +1,10 @@
|
|||||||
- `-except=foo,bar,baz` - Run all the builds and post-processors except those
|
- `-except=foo,bar,baz` - Run all the builds and post-processors except those
|
||||||
with the given comma-separated names. Build and post-processor names by
|
with the given comma-separated names. In legacy JSON templates, build names default to the
|
||||||
default are their type, unless a specific `name` attribute is specified
|
types of their builders (e.g. `docker` or
|
||||||
within the configuration. Any post-processor following a skipped
|
`amazon-ebs` or `virtualbox-iso`, unless a specific `name` attribute is
|
||||||
post-processor will not run. Because post-processors can be nested in
|
specified within the configuration. In HCL2 templates, the "name" is the
|
||||||
arrays a different post-processor chain can still run. A post-processor
|
source block's "name" label, unless an in-build source definition adds the
|
||||||
|
"name" configuration option.Any post-processor following
|
||||||
|
a skipped post-processor will not run. Because post-processors can be nested
|
||||||
|
in arrays a different post-processor chain can still run. A post-processor
|
||||||
with an empty name will be ignored.
|
with an empty name will be ignored.
|
||||||
|
|||||||
@ -1,4 +1,7 @@
|
|||||||
- `-only=foo,bar,baz` - Only run the builds with the given comma-separated
|
- `-only=foo,bar,baz` - Only run the builds with the given comma-separated
|
||||||
names. Build names by default are their type, unless a specific `name`
|
names. In legacy JSON templates, build names default to the
|
||||||
attribute is specified within the configuration. `-only` does not apply to
|
types of their builders (e.g. `docker` or
|
||||||
post-processors.
|
`amazon-ebs` or `virtualbox-iso`, unless a specific `name` attribute is
|
||||||
|
specified within the configuration. In HCL2 templates, the "name" is the
|
||||||
|
source block's "name" label, unless an in-build source definition adds the
|
||||||
|
"name" configuration option.
|
||||||
Loading…
Reference in new issue