From 6c6d69314d81debc1d900676683539b056bbb7c0 Mon Sep 17 00:00:00 2001 From: Josh Meisels Date: Sun, 2 Apr 2017 09:12:57 -0700 Subject: [PATCH] Remove changes to let user select VM size Removing my previous additions that let the user select their Azure VM size. --- algo | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/algo b/algo index 5d85540d..9526a4f1 100755 --- a/algo +++ b/algo @@ -155,24 +155,8 @@ Enter the number of your desired region: 26) region="westindia" ;; esac - read -p " - What size do you want your VM? - 1) Standard D1 v2 - 2) Standard A0 - cheap - 3) Basic A0 - cheapest -Enter the number of your desired size -[1]: " -r azure_vm_size - azure_vm_size=${azure_vm_size:-1} - - case "$azure_vm_size" in - 1) vm_size="Standard_D1_v2" ;; - 2) vm_size="ExtraSmall" ;; #Conflicting documentation says this might need to be Standard_A0... - 3) vm_size="Basic_A0" ;; - esac - #source for sizes: https://docs.microsoft.com/en-us/azure/cloud-services/cloud-services-sizes-specs - ROLES="azure vpn cloud" - EXTRA_VARS="azure_secret=$azure_secret azure_tenant=$azure_tenant azure_client_id=$azure_client_id azure_subscription_id=$azure_subscription_id azure_server_name=$azure_server_name ssh_public_key=$ssh_public_key region=$region vm_size=$vm_size" + EXTRA_VARS="azure_secret=$azure_secret azure_tenant=$azure_tenant azure_client_id=$azure_client_id azure_subscription_id=$azure_subscription_id azure_server_name=$azure_server_name ssh_public_key=$ssh_public_key region=$region" } digitalocean () {