1
0
mirror of synced 2024-11-29 16:16:03 +03:00

Update Azure config

- Add Ubuntu 18.04 to OS options
This commit is contained in:
hwdsl2 2019-11-01 21:47:15 -07:00
parent 3b6a61481f
commit f1a002d139
3 changed files with 10 additions and 3 deletions

View File

@ -9,7 +9,7 @@
- Username for VPN and SSH (用户名) - Username for VPN and SSH (用户名)
- Password for VPN and SSH (密码) - Password for VPN and SSH (密码)
- IPsec Pre-Shared Key for VPN IPsec 预共享密钥) - IPsec Pre-Shared Key for VPN IPsec 预共享密钥)
- Operating System Image 操作系统镜像Debian 9 或 Ubuntu 16.04 LTS - Operating System Image 操作系统镜像Debian 9 或 Ubuntu 18.04/16.04 LTS
- Virtual Machine Size (虚拟机大小,默认值: Standard_B1s - Virtual Machine Size (虚拟机大小,默认值: Standard_B1s
**注:** \*不要\* 在值中使用这些字符: `\ " '` **注:** \*不要\* 在值中使用这些字符: `\ " '`

View File

@ -9,7 +9,7 @@ Customizable with the following options:
- Username for VPN and SSH - Username for VPN and SSH
- Password for VPN and SSH - Password for VPN and SSH
- IPsec Pre-Shared Key for VPN - IPsec Pre-Shared Key for VPN
- Operating System Image (Debian 9 or Ubuntu 16.04 LTS) - Operating System Image (Debian 9 or Ubuntu 18.04/16.04 LTS)
- Virtual Machine Size (Default: Standard_B1s) - Virtual Machine Size (Default: Standard_B1s)
**Note:** DO NOT use these special characters within values: `\ " '` **Note:** DO NOT use these special characters within values: `\ " '`

View File

@ -24,12 +24,13 @@
"image": { "image": {
"type": "string", "type": "string",
"allowedValues": [ "allowedValues": [
"ubuntu1804",
"ubuntu1604", "ubuntu1604",
"debian9" "debian9"
], ],
"defaultValue": "debian9", "defaultValue": "debian9",
"metadata": { "metadata": {
"description": "OS to use. Debian 9 or Ubuntu 16.04 LTS" "description": "OS to use. Debian 9 or Ubuntu 18.04/16.04 LTS"
} }
}, },
"VMSize": { "VMSize": {
@ -59,6 +60,12 @@
"vhdStorageType": "Standard_LRS", "vhdStorageType": "Standard_LRS",
"vnetId": "[resourceId('Microsoft.Network/virtualNetworks', variables('virtualNetworkName'))]", "vnetId": "[resourceId('Microsoft.Network/virtualNetworks', variables('virtualNetworkName'))]",
"SubnetRef": "[concat(variables('vnetId'), '/subnets/', variables('subnetName'))]", "SubnetRef": "[concat(variables('vnetId'), '/subnets/', variables('subnetName'))]",
"ubuntu1804": {
"publisher": "Canonical",
"offer": "UbuntuServer",
"sku": "18.04-LTS",
"version": "latest"
},
"ubuntu1604": { "ubuntu1604": {
"publisher": "Canonical", "publisher": "Canonical",
"offer": "UbuntuServer", "offer": "UbuntuServer",