mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-10 17:20:26 -04:00
Update example for -var-file
On Windows version v1.2.4, cannot use -var-file= syntax invalid value "" for flag -var-file: open : The system cannot find the file specified. Have to use -var-file .\file syntax
This commit is contained in:
parent
6226992757
commit
6068320752
1 changed files with 3 additions and 0 deletions
|
|
@ -176,7 +176,10 @@ variable values. Assuming this file is in `variables.json`, we can build our
|
|||
template using the following command:
|
||||
|
||||
``` text
|
||||
On Linux :
|
||||
$ packer build -var-file=variables.json template.json
|
||||
On Windows :
|
||||
packer build -var-file variables.json template.json
|
||||
```
|
||||
|
||||
The `-var-file` flag can be specified multiple times and variables from multiple
|
||||
|
|
|
|||
Loading…
Reference in a new issue