1
0
mirror of synced 2024-11-25 06:16:07 +03:00

Update Azure template

- Remove Debian 9, which is EOL after June 30, 2022.
This commit is contained in:
hwdsl2 2022-07-07 17:39:28 -05:00
parent c1630afb7e
commit 8ca05e13d9
3 changed files with 4 additions and 11 deletions

View File

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

View File

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

View File

@ -26,12 +26,11 @@
"allowedValues": [
"ubuntu22.04",
"ubuntu20.04",
"ubuntu18.04",
"debian9"
"ubuntu18.04"
],
"defaultValue": "ubuntu22.04",
"metadata": {
"description": "OS to use. Ubuntu 22.04/20.04/18.04 or Debian 9."
"description": "OS to use. Ubuntu 22.04, 20.04 or 18.04."
}
},
"VMSize": {
@ -80,12 +79,6 @@
"sku": "18.04-LTS",
"version": "latest"
},
"debian9": {
"publisher": "credativ",
"offer": "Debian",
"sku": "9",
"version": "latest"
},
"installScriptURL": "https://raw.githubusercontent.com/hwdsl2/setup-ipsec-vpn/master/azure/install.sh",
"installCommand": "[concat('sh install.sh ', variables('quote'), parameters('preSharedKey'), variables('quote'), ' ', variables('quote'), parameters('username'), variables('quote'), ' ', variables('quote'), parameters('password'), variables('quote'))]"
},