update docs to use double quotes, which works on more shells (#11009)

This commit is contained in:
Megan Marsh 2021-05-10 13:00:53 -07:00 committed by GitHub
parent 1e51ed9df9
commit 8c93297eb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -155,9 +155,9 @@ You can set variables directly on the command-line with the
```shell-session
$ packer build \
-var 'weekday=Sunday' \
-var 'flavor=chocolate' \
-var 'sudo_password=hunter42' .
-var "weekday=Sunday" \
-var "flavor=chocolate" \
-var "sudo_password=hunter42" .
```
Once again, setting variables this way will not save them, and they'll