Update digitalocean.html.markdown

update docs
This commit is contained in:
Vasiliy Tolstov 2014-09-15 15:43:10 +04:00
parent 6c6f3c24a5
commit ca6ef4d1e1
1 changed files with 7 additions and 0 deletions

View File

@ -36,8 +36,15 @@ each category, the available configuration keys are alphabetized.
If not specified, Packer will use the environment variable If not specified, Packer will use the environment variable
`DIGITALOCEAN_CLIENT_ID`, if set. `DIGITALOCEAN_CLIENT_ID`, if set.
* `api_token` (string) - The client TOKEN to use to access your account. If it
specified, then use v2 api (current), if not then used old (v1) deprecated api.
Also it can be specified via environment variable `DIGITALOCEAN_API_TOKEN`, if set.
### Optional: ### Optional:
* `api_url` (string) - API endpoint, by default use https://api.digitalocean.com
ALso it can be specified via environment variable `DIGITALOCEAN_API_URL`, if set.
* `droplet_name` (string) - The name assigned to the droplet. DigitalOcean * `droplet_name` (string) - The name assigned to the droplet. DigitalOcean
sets the hostname of the machine to this value. sets the hostname of the machine to this value.