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
pull/6383/head
egazrigh 8 years ago committed by GitHub
parent 6226992757
commit 6068320752
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save