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
010c77d0
Commit
010c77d0
authored
Dec 10, 2014
by
Ryan Uber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
builder/digitalocean: default to nyc3
parent
9cd66fee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
builder/digitalocean/builder.go
builder/digitalocean/builder.go
+2
-2
website/source/docs/builders/digitalocean.html.markdown
website/source/docs/builders/digitalocean.html.markdown
+1
-1
No files found.
builder/digitalocean/builder.go
View file @
010c77d0
...
@@ -21,8 +21,8 @@ import (
...
@@ -21,8 +21,8 @@ import (
const
DefaultImage
=
"ubuntu-12-04-x64"
const
DefaultImage
=
"ubuntu-12-04-x64"
// see https://api.digitalocean.com/regions/?client_id=[client_id]&api_key=[api_key]
// see https://api.digitalocean.com/regions/?client_id=[client_id]&api_key=[api_key]
// name="New York
", id=1
// name="New York
3", id=8
const
DefaultRegion
=
"nyc
1
"
const
DefaultRegion
=
"nyc
3
"
// see https://api.digitalocean.com/sizes/?client_id=[client_id]&api_key=[api_key]
// see https://api.digitalocean.com/sizes/?client_id=[client_id]&api_key=[api_key]
// name="512MB", id=66 (the smallest droplet size)
// name="512MB", id=66 (the smallest droplet size)
...
...
website/source/docs/builders/digitalocean.html.markdown
View file @
010c77d0
...
@@ -66,7 +66,7 @@ each category, the available configuration keys are alphabetized.
...
@@ -66,7 +66,7 @@ each category, the available configuration keys are alphabetized.
*
`region`
(string) - The name (or slug) of the region to launch the droplet in.
*
`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.
Consequently, this is the region where the snapshot will be available.
This defaults to "nyc
1", which is the slug for "New York 1
".
This defaults to "nyc
3", which is the slug for "New York 3
".
See https://developers.digitalocean.com/regions/ for the accepted region names/slugs.
See https://developers.digitalocean.com/regions/ for the accepted region names/slugs.
*
`region_id`
(integer) - The ID of the region to launch the droplet in. Consequently,
*
`region_id`
(integer) - The ID of the region to launch the droplet in. Consequently,
...
...
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