mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-11 01:30:06 -04:00
docs: more user friendly vagrant cloud example
This commit is contained in:
parent
07c09fee32
commit
b56c6eca55
1 changed files with 2 additions and 3 deletions
|
|
@ -91,8 +91,7 @@ post-processor.
|
|||
```json
|
||||
{
|
||||
"variables": {
|
||||
"version": "",
|
||||
"cloud_token": ""
|
||||
"cloud_token": "{{ env `ATLAS_TOKEN` }}"
|
||||
},
|
||||
"post-processors": [
|
||||
[
|
||||
|
|
@ -106,7 +105,7 @@ post-processor.
|
|||
"type": "vagrant-cloud",
|
||||
"box_tag": "hashicorp/precise64",
|
||||
"access_token": "{{user `cloud_token`}}",
|
||||
"version": "{{user `version`}}"
|
||||
"version": "1.0.{{timestamp}}"
|
||||
}
|
||||
]
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue