go generate ./packer
This commit is contained in:
parent
d147ebe79f
commit
52b2151b21
|
@ -3,6 +3,8 @@
|
|||
### BACKWARDS INCOMPATIBILITIES:
|
||||
* core/hcl2: Maps are now treated as settable arguments as opposed to blocks.
|
||||
For example `tags = {}` instead of `tags {}` [GH-9035]
|
||||
* `packer build` command: removed option to set `parallel=false`, use
|
||||
`-parallel-builds=1` for this.
|
||||
|
||||
### FEATURES:
|
||||
* **New Builder** azure-dtl allows creation of devtestlabs images in Azure
|
||||
|
|
|
@ -374,8 +374,7 @@ Options:
|
|||
-force Force a build to continue if artifacts exist, deletes existing artifacts.
|
||||
-machine-readable Produce machine-readable output.
|
||||
-on-error=[cleanup|abort|ask] If the build fails do: clean up (default), abort, or ask.
|
||||
-parallel-builds=1 Disable parallelization. (Default: true)
|
||||
-parallel-builds=1 Number of builds to run in parallel. 0 means no limit (Default: 0)
|
||||
-parallel-builds=1 Number of builds to run in parallel. 1 disables parallelization. 0 means no limit (Default: 0)
|
||||
-timestamp-ui Enable prefixing of each ui output with an RFC3339 timestamp.
|
||||
-var 'key=value' Variable for templates, can be used multiple times.
|
||||
-var-file=path JSON file containing user variables. [ Note that even in HCL mode this expects file to contain JSON, a fix is comming soon ]
|
||||
|
|
|
@ -19,14 +19,13 @@ type BuildGetter interface {
|
|||
type FixConfigMode int
|
||||
|
||||
const (
|
||||
// Stdout will make FixConfig simply print what the config should be; it
|
||||
// will only work when a single file is passed.
|
||||
Stdout FixConfigMode = iota
|
||||
// Inplace fixes your files on the spot.
|
||||
Inplace
|
||||
// Diff shows a full diff.
|
||||
Diff
|
||||
// SimpleOutput will simply print what the config should be; it will only
|
||||
// work when a single file is passed.
|
||||
SimpleOutput
|
||||
)
|
||||
|
||||
type FixConfigOptions struct {
|
||||
|
|
Loading…
Reference in New Issue