Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
packer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
packer
Commits
be4ccc77
Commit
be4ccc77
authored
Feb 10, 2015
by
Misha Brukman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
builders/googlecompute: made formatting consistent
Also updated Debian 7 VM image to `debian-7-wheezy-v20150127`.
parent
22573d0d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
website/source/docs/builders/googlecompute.markdown
website/source/docs/builders/googlecompute.markdown
+14
-14
No files found.
website/source/docs/builders/googlecompute.markdown
View file @
be4ccc77
...
@@ -75,7 +75,7 @@ existing GCE image. The account file is obtained in the previous section.
...
@@ -75,7 +75,7 @@ existing GCE image. The account file is obtained in the previous section.
"
type
"
:
"
googlecompute
"
,
"
type
"
:
"
googlecompute
"
,
"
account_file
"
:
"
account.json
"
,
"
account_file
"
:
"
account.json
"
,
"
project_id
"
:
"
my-project
"
,
"
project_id
"
:
"
my-project
"
,
"
source_image
"
:
"
debian-7-wheezy-v201
40718
"
,
"
source_image
"
:
"
debian-7-wheezy-v201
50127
"
,
"
zone
"
:
"
us-central1-a
"
"
zone
"
:
"
us-central1-a
"
}
}
```
```
...
@@ -91,44 +91,44 @@ each category, the available options are alphabetized and described.
...
@@ -91,44 +91,44 @@ each category, the available options are alphabetized and described.
and store images.
and store images.
*
`source_image`
(string) - The source image to use to create the new image
*
`source_image`
(string) - The source image to use to create the new image
from. Example:
"debian-7"
from. Example:
`"debian-7-wheezy-v20150127"`
*
`zone`
(string) - The zone in which to launch the instance used to create
*
`zone`
(string) - The zone in which to launch the instance used to create
the image. Example:
"us-central1-a"
the image. Example:
`"us-central1-a"`
### Optional:
### Optional:
*
`account_file`
(string) - The JSON file containing your account credentials.
*
`account_file`
(string) - The JSON file containing your account credentials.
Not required if you run Packer on a GCE instance with a service account.
Not required if you run Packer on a GCE instance with a service account.
Instructions for creating file or using service accounts are above.
Instructions for creating file or using service accounts are above.
*
`disk_size`
(integer) - The size of the disk in GB.
*
`disk_size`
(integer) - The size of the disk in GB.
This defaults to
10
, which is 10GB.
This defaults to
`10`
, which is 10GB.
*
`image_name`
(string) - The unique name of the resulting image.
*
`image_name`
(string) - The unique name of the resulting image.
Defaults to
`
packer-{{timestamp}}
`
.
Defaults to
`
"packer-{{timestamp}}"
`
.
*
`image_description`
(string) - The description of the resulting image.
*
`image_description`
(string) - The description of the resulting image.
*
`instance_name`
(string) - A name to give the launched instance. Beware
*
`instance_name`
(string) - A name to give the launched instance. Beware
that this must be unique. Defaults to
"packer-{{uuid}}"
.
that this must be unique. Defaults to
`"packer-{{uuid}}"`
.
*
`machine_type`
(string) - The machine type. Defaults to
`
n1-standard-1
`
.
*
`machine_type`
(string) - The machine type. Defaults to
`
"n1-standard-1"
`
.
*
`metadata`
(object of key/value strings)
*
`metadata`
(object of key/value strings)
*
`network`
(string) - The Google Compute network to use for the launched
*
`network`
(string) - The Google Compute network to use for the launched
instance. Defaults to
`
default
`
.
instance. Defaults to
`
"default"
`
.
*
`ssh_port`
(integer) - The SSH port. Defaults to
22
.
*
`ssh_port`
(integer) - The SSH port. Defaults to
`22`
.
*
`ssh_timeout`
(string) - The time to wait for SSH to become available.
*
`ssh_timeout`
(string) - The time to wait for SSH to become available.
Defaults to
"1m"
.
Defaults to
`"1m"`
.
*
`ssh_username`
(string) - The SSH username. Defaults to
"root"
.
*
`ssh_username`
(string) - The SSH username. Defaults to
`"root"`
.
*
`state_timeout`
(string) - The time to wait for instance state changes.
*
`state_timeout`
(string) - The time to wait for instance state changes.
Defaults to
"5m"
.
Defaults to
`"5m"`
.
*
`tags`
(array of strings)
*
`tags`
(array of strings)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment