Commit 73cb1a3f authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

website: finish digitalocean docs

parent 661a5a80
...@@ -79,4 +79,24 @@ own access tokens: ...@@ -79,4 +79,24 @@ own access tokens:
## Snapshot Name Variables ## Snapshot Name Variables
TODO The `snapshot_name` for a DigitalOcean image must be unique. The configuration
variable is actually treated as a [configuration template](/docs/templates/configuration-templates.html) and has various variables available to help keep this unique. Read
the prior linked page for information on syntax if you're unfamiliar with it.
The available variables are shown below:
* `CreateTime`- This will be replaced with the Unix timestamp of when the
image is created.
## Finding Image, Region, and Size IDs
Unfortunately, finding a list of available values for `image_id`, `region_id`,
and `size_id` is not easy at the moment. Basically, it has to be done through
the [DigitalOcean API](https://www.digitalocean.com/api_access) using the
`/images`, `/regions`, and `/sizes` endpoints. You can use `curl` for this
or request it in your browser.
If you're comfortable installing RubyGems, [Tugboat](https://github.com/pearkes/tugboat)
is a fantastic DigitalOcean command-line client that has commands to
find the available images, regions, and sizes. For example, to see all the
global images, you can run `tugboat images --global`.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment