From 7d2751de7b4be4cc152ba99345972ee32d694a97 Mon Sep 17 00:00:00 2001 From: enxebre Date: Tue, 5 May 2015 12:37:51 +0100 Subject: [PATCH] default variable fix and docs improvement --- bootstrap/digitalocean/config-default.sh | 2 +- docs/atlas.md | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 ```