mirror of
https://github.com/trailofbits/algo.git
synced 2025-07-27 07:52:57 +02:00
add azure option for osDiskType
This commit is contained in:
parent
347f864abb
commit
ce5a0c6aa1
3 changed files with 14 additions and 1 deletions
|
@ -165,6 +165,11 @@ SSH_keys:
|
||||||
cloud_providers:
|
cloud_providers:
|
||||||
azure:
|
azure:
|
||||||
size: Standard_B1S
|
size: Standard_B1S
|
||||||
|
osDisk:
|
||||||
|
# The storage account type to use for the OS disk. Possible values:
|
||||||
|
# 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS',
|
||||||
|
# 'Premium_ZRS', 'StandardSSD_ZRS', 'PremiumV2_LRS'.
|
||||||
|
type: Standard_LRS
|
||||||
image:
|
image:
|
||||||
publisher: Canonical
|
publisher: Canonical
|
||||||
offer: 0001-com-ubuntu-server-focal-daily
|
offer: 0001-com-ubuntu-server-focal-daily
|
||||||
|
|
|
@ -23,6 +23,9 @@
|
||||||
"imageReferenceVersion": {
|
"imageReferenceVersion": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"osDiskType": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"SshPort": {
|
"SshPort": {
|
||||||
"type": "int"
|
"type": "int"
|
||||||
},
|
},
|
||||||
|
@ -197,7 +200,10 @@
|
||||||
"version": "[parameters('imageReferenceVersion')]"
|
"version": "[parameters('imageReferenceVersion')]"
|
||||||
},
|
},
|
||||||
"osDisk": {
|
"osDisk": {
|
||||||
"createOption": "FromImage"
|
"createOption": "FromImage",
|
||||||
|
"managedDisk": {
|
||||||
|
"storageAccountType": "[parameters('osDiskType')]"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"networkProfile": {
|
"networkProfile": {
|
||||||
|
|
|
@ -37,6 +37,8 @@
|
||||||
value: "{{ cloud_providers.azure.image.sku }}"
|
value: "{{ cloud_providers.azure.image.sku }}"
|
||||||
imageReferenceVersion:
|
imageReferenceVersion:
|
||||||
value: "{{ cloud_providers.azure.image.version }}"
|
value: "{{ cloud_providers.azure.image.version }}"
|
||||||
|
osDiskType:
|
||||||
|
value: "{{ cloud_providers.azure.osDisk.type }}"
|
||||||
SshPort:
|
SshPort:
|
||||||
value: "{{ ssh_port }}"
|
value: "{{ ssh_port }}"
|
||||||
UserData:
|
UserData:
|
||||||
|
|
Loading…
Add table
Reference in a new issue