Rickard von Essen
2f50d7bea5
googlecompute: Added missing disk_name option to docs.
2017-03-08 19:47:08 +01:00
Rickard von Essen
eac5b6392d
googlecompute: Correct values for on_host_maintenance
...
If preemptible is true then on_host_maintenance must be TERMINATE.
Also corrected order in docs.
Closes #4620
2017-03-08 19:44:07 +01:00
Matthew Hooker
6eaf8f4559
tighten up docs
2017-02-10 12:11:08 -08:00
Dimitri Rudnev
2009fcd9df
OnHostMaintenance, googlecompute updating documenation , additional option for validation and setting defaults
2017-02-10 11:57:15 -08:00
James Portman
88fceff226
Correcting CLI usage
...
For gcloud compute instances create, multiple scopes should be comma separated in one set of quotes
2017-01-05 10:34:42 +00:00
Sean Malloy
e0fd5ac402
Fix formating for network_project_id config option
2016-12-28 23:15:18 -06:00
Troy Toman
12f279fa79
add ability to set a different project-id for a network in the googlecloud builder
2016-12-02 15:22:36 -06:00
Peter Schultz
54aa830943
builder/googlecompute: split docs for source_image and source_image_family
...
Also update the example values to currently non-deprecated images.
2016-11-14 13:06:43 +01:00
Peter Schultz
bcb319640e
builder/googlecompute: support source image family
...
Closes #4100
2016-11-13 16:54:04 +01:00
Rickard von Essen
dd89aa7243
Formatted the default value and cleaned some trailing spaces.
2016-10-22 21:06:07 +02:00
YAMADA Tsuyoshi
283d3e5758
Updated document
2016-10-22 15:46:19 +09:00
Scott Crunkleton
591eb12806
Added googlecompute documentation for the source_image_project_id option. It was previously missing.
2016-10-12 13:48:37 -07:00
Rickard von Essen
7dafd4421e
Merge pull request #3737 from clstokes/docs-googlecompute-metadata
...
builder/googlecompute: Clarify metadata usage.
2016-09-13 23:05:16 +02:00
Ingo Gottwald
0c1051a017
GCE builder: Switch to google.DefaultClient ( #3655 )
...
* GCE builder: Switch to google.DefaultClient
This enables authentication through an authenticated gcloud tool.
* GCE builder: Add docs about auth mech precedence
2016-08-27 03:12:55 +02:00
crunk1
55b5a45ae4
Created googlecompute-export post-processor. Modified the googlecompute builder to pass a few configuration values to its resulting artifact. These values can then be used in googlecompute-export post-processor.
...
Added documentation and changed authentication stuff on temporary VM.
2016-08-15 14:36:26 -07:00
Evan Brown
a5c598264f
builder/googlecompute: Support provisioning VM without external IP address
...
This change adds an `omit_external_ip` configuration property that, when true,
will cause no external IP address to be associated with the Google Compute
Engine VM provisioned to create an image. When using `omit_external_ip`, you
must also set the `use_internal_ip` configuration property to true.
Addresses #3296
2016-08-02 13:43:04 -07:00
Scott Crunkleton
7190fbeed8
Adding support for googlecompute startup scripts.
...
- Startup scripts can be provided through the instance creation metadata field 'startup-script'.
- Script log can be copied to a GCS location by setting the metadata field 'startup-script-log-dest'.
Added Retry method to googlecompute package.
Added GetSerialPortOutput to googlecompute Drivers.
Added StepWaitInstanceStartup (and associated test) which waits for an
instance startup-script to finish.
Changed the instance service account to use the same service account as the one provided in the Packer config template. It was the project default service account.
Tested googlecompute package with 'go test' and also performed builds
with a startup script and without a startup script.
2016-07-20 14:54:36 -07:00
Cameron Stokes
923375cdbc
Clarify googlecompute#metadata usage.
2016-07-20 11:12:20 -07:00
Adron Hall
c4b93d00ad
Format change to spaces vs. tabs. & indentation cleanup.
2016-07-14 14:54:02 -07:00
Adron Hall
a7de9d9a2f
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"
}
]
}
2016-07-14 07:05:46 -07:00
George Robinson
75dc729182
Add Debian 8.4 to gotchas for google compute builder
2016-06-02 14:48:35 +01:00
Peter Schultz
8546aafec5
builder/googlecompute: support image family
2016-05-13 15:24:02 -07:00
Chris Bednarski
1256babce3
Change .markdown to .md because it's shorter
2016-03-11 17:06:36 -08:00