Skip to content
Snippets Groups Projects
Commit 632afe7c authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

Adds verbosity

parent cc90d3b3
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment