mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-30 11:44:01 -04:00
Changed based level example so it can be copied.
The base level example doesn't actually work unless enclosed with a "builders" section. All fixed now.
Previous:
{
"type": "googlecompute",
"account_file": "account.json",
"project_id": "my project",
"source_image": "debian-7-wheezy-v20150127",
"zone": "us-central1-a"
}
Now:
{
"builders": [
{
"type": "googlecompute",
"account_file": "account.json",
"project_id": "my project",
"source_image": "debian-7-wheezy-v20150127",
"zone": "us-central1-a"
}
]
}
This commit is contained in:
@@ -83,11 +83,15 @@ the path to the file containing the JSON.
|
||||
|
||||
``` {.javascript}
|
||||
{
|
||||
"type": "googlecompute",
|
||||
"account_file": "account.json",
|
||||
"project_id": "my-project",
|
||||
"source_image": "debian-7-wheezy-v20150127",
|
||||
"zone": "us-central1-a"
|
||||
"builders": [
|
||||
{
|
||||
"type": "googlecompute",
|
||||
"account_file": "account.json",
|
||||
"project_id": "my project",
|
||||
"source_image": "debian-7-wheezy-v20150127",
|
||||
"zone": "us-central1-a"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user