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
910b1610
Commit
910b1610
authored
Jun 10, 2015
by
Mitchell Hashimoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
website: update required options for DO
parent
5da56d2a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
13 deletions
+14
-13
CHANGELOG.md
CHANGELOG.md
+1
-0
website/source/docs/builders/digitalocean.html.markdown
website/source/docs/builders/digitalocean.html.markdown
+13
-13
No files found.
CHANGELOG.md
View file @
910b1610
...
...
@@ -5,6 +5,7 @@ BACKWARDS INCOMPATIBILITIES:
*
The DigitalOcean builder no longer supports the v1 API which has been
deprecated for some time. Most configurations should continue to
work as long as you use the
`api_token`
field for auth.
*
builder/digitalocean:
`image`
,
`region`
, and
`size`
are now required.
FEATURES:
...
...
website/source/docs/builders/digitalocean.html.markdown
View file @
910b1610
...
...
@@ -29,28 +29,25 @@ each category, the available configuration keys are alphabetized.
*
`api_token`
(string) - The client TOKEN to use to access your account.
It can also be specified via environment variable
`DIGITALOCEAN_API_TOKEN`
, if set.
### Optional:
*
`droplet_name`
(string) - The name assigned to the droplet. DigitalOcean
sets the hostname of the machine to this value.
*
`image`
(string) - The name (or slug) of the base image to use. This is the
image that will be used to launch a new droplet and provision it. This
defaults to 'ubuntu-12-04-x64' which is the slug for "Ubuntu 12.04.4 x64".
image that will be used to launch a new droplet and provision it.
See https://developers.digitalocean.com/documentation/v2/#list-all-images for details on how to get a list of the the accepted image names/slugs.
*
`private_networking`
(boolean) - Set to
`true`
to enable private networking
for the droplet being created. This defaults to
`false`
, or not enabled.
*
`region`
(string) - The name (or slug) of the region to launch the droplet in.
Consequently, this is the region where the snapshot will be available.
This defaults to "nyc3", which is the slug for "New York 3".
See https://developers.digitalocean.com/documentation/v2/#list-all-regions for the accepted region names/slugs.
*
`size`
(string) - The name (or slug) of the droplet size to use.
This defaults to "512mb", which is the slug for "512MB".
See https://developers.digitalocean.com/documentation/v2/#list-all-sizes for the accepted size names/slugs.
### Optional:
*
`droplet_name`
(string) - The name assigned to the droplet. DigitalOcean
sets the hostname of the machine to this value.
*
`private_networking`
(boolean) - Set to
`true`
to enable private networking
for the droplet being created. This defaults to
`false`
, or not enabled.
*
`snapshot_name`
(string) - The name of the resulting snapshot that will
appear in your account. This must be unique.
To help make this unique, use a function like
`timestamp`
(see
...
...
@@ -78,6 +75,9 @@ own access tokens:
```
javascript
{
"
type
"
:
"
digitalocean
"
,
"
api_token
"
:
"
YOUR API KEY
"
"
api_token
"
:
"
YOUR API KEY
"
,
"
image
"
:
"
ubuntu-12-04-x64
"
,
"
region
"
:
"
nyc2
"
,
"
size
"
:
"
512mb
"
}
```
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