mirror of
https://github.com/trailofbits/algo.git
synced 2025-09-06 12:03:38 +02:00
Remove vm_size D1 since it's being deprecated
This commit is contained in:
parent
9096760385
commit
bb795d8614
1 changed files with 6 additions and 8 deletions
14
algo
14
algo
|
@ -157,19 +157,17 @@ Enter the number of your desired region:
|
||||||
|
|
||||||
read -p "
|
read -p "
|
||||||
What size do you want your VM?
|
What size do you want your VM?
|
||||||
1) Standard D1 (not available in all regions)
|
1) Standard D1 v2
|
||||||
2) Standard D1 v2
|
2) Standard A0 (cheap)
|
||||||
3) Standard A0 (cheap)
|
3) Basic A0 (cheapest)
|
||||||
4) Basic A0 (cheapest)
|
|
||||||
Enter the number of your desired size
|
Enter the number of your desired size
|
||||||
[1]: " -r azure_vm_size
|
[1]: " -r azure_vm_size
|
||||||
azure_vm_size=${azure_vm_size:-1}
|
azure_vm_size=${azure_vm_size:-1}
|
||||||
|
|
||||||
case "$azure_vm_size" in
|
case "$azure_vm_size" in
|
||||||
1) vm_size="Standard_D1"
|
1) vm_size="Standard_D1_v2"
|
||||||
2) vm_size="Standard_D1_v2"
|
2) vm_size="ExtraSmall" #Conflicting documentation says this might need to be Standard_A0...
|
||||||
3) vm_size="ExtraSmall"
|
3) vm_size="Basic_A0"
|
||||||
4) vm_size="Basic_A0"
|
|
||||||
esac
|
esac
|
||||||
#source for sizes: https://docs.microsoft.com/en-us/azure/cloud-services/cloud-services-sizes-specs
|
#source for sizes: https://docs.microsoft.com/en-us/azure/cloud-services/cloud-services-sizes-specs
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue