diff --git a/bootstrap/digitalocean/config-default.sh b/bootstrap/digitalocean/config-default.sh index 5e3d56b3..204e1cab 100644 --- a/bootstrap/digitalocean/config-default.sh +++ b/bootstrap/digitalocean/config-default.sh @@ -1,6 +1,6 @@ #!/bin/bash DIGITALOCEAN_REGION=${DIGITALOCEAN_REGION:-lon1} -DIGITALOCEAN_SSH_PUB_KEY=${DIGITALOCEAN_SSH_KEY:?"Need to set DIGITALOCEAN_SSH_KEY non-empty"} +DIGITALOCEAN_SSH_KEY=${DIGITALOCEAN_SSH_KEY:?"Need to set DIGITALOCEAN_SSH_KEY non-empty"} DIGITALOCEAN_API_TOKEN=${DIGITALOCEAN_API_TOKEN:?"Need to set DIGITALOCEAN_API_TOKEN non-empty"} DO_CLIENT_ID=${DO_CLIENT_ID:?"Need to set DO_CLIENT_ID non-empty"} DO_API_KEY=${DO_API_KEY:?"Need to set DO_API_KEY non-empty"} diff --git a/docs/atlas.md b/docs/atlas.md index 3e51d7e6..deafebb4 100644 --- a/docs/atlas.md +++ b/docs/atlas.md @@ -21,6 +21,10 @@ the push and post-processor config. At the moment there is a bug in packer which ``` cd packer/ +packer push -token=$ATLAS_TOKEN -create ubuntu-14.04_amd64-droplet.json +``` +or: +``` packer push -token=$ATLAS_TOKEN -m="Optional message here" ubuntu-14.04_amd64-droplet.json ```