From 632afe7ce051766d2e8530bb0bede557ebdbeac4 Mon Sep 17 00:00:00 2001 From: pierreozoux <pierre@ozoux.net> Date: Tue, 10 Mar 2015 15:36:06 +0000 Subject: [PATCH] Adds verbosity --- scripts/create_vultr.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/create_vultr.sh b/scripts/create_vultr.sh index 45b9c77..640d453 100755 --- a/scripts/create_vultr.sh +++ b/scripts/create_vultr.sh @@ -17,10 +17,14 @@ function valid_ip() } LABEL=$1 +echo Label: $LABEL +echo API key: $VULTR_API_KEY SSHKEYID=`curl -s https://api.vultr.com/v1/sshkey/list\?api_key\=$VULTR_API_KEY | cut -d\" -f2` +echo Got your ssh key ID $SSHKEYID: SUBID=`curl -s -d "DCID=24&VPSPLANID=29&OSID=179&label=$LABEL&SSHKEYID=$SSHKEYID" https://api.vultr.com/v1/server/create\?api_key\=$VULTR_API_KEY | cut -d\" -f4` +echo Got your SUB ID $SUBID: while : do -- GitLab