Update Azure template
- Use Debian 9 instead of Debian 8 - Update Virtual Machine size options - Add wait for apt/dpkg lock in install.sh
This commit is contained in:
parent
9417d26afd
commit
7f65604250
@ -9,8 +9,8 @@
|
|||||||
- 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 8 或 Ubuntu 16.04 LTS)
|
- Operating System Image (操作系统镜像,Debian 9 或 Ubuntu 16.04 LTS)
|
||||||
- Virtual Machine Size (虚拟机大小,默认值: Basic_A0)
|
- Virtual Machine Size (虚拟机大小,默认值: Standard_B1s)
|
||||||
|
|
||||||
请单击以下按钮开始:
|
请单击以下按钮开始:
|
||||||
|
|
||||||
@ -23,7 +23,7 @@
|
|||||||
## 作者
|
## 作者
|
||||||
|
|
||||||
版权所有 (C) 2016 [Daniel Falkner](https://github.com/derdanu)
|
版权所有 (C) 2016 [Daniel Falkner](https://github.com/derdanu)
|
||||||
版权所有 (C) 2017 Lin Song
|
版权所有 (C) 2017-2018 Lin Song
|
||||||
|
|
||||||
## 屏幕截图
|
## 屏幕截图
|
||||||
|
|
||||||
|
@ -9,8 +9,8 @@ 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 8 or Ubuntu 16.04 LTS)
|
- Operating System Image (Debian 9 or Ubuntu 16.04 LTS)
|
||||||
- Virtual Machine Size (Default: Basic_A0)
|
- Virtual Machine Size (Default: Standard_B1s)
|
||||||
|
|
||||||
Press this button to start:
|
Press this button to start:
|
||||||
|
|
||||||
@ -23,7 +23,7 @@ When the deployment finishes, Azure displays a notification. Next steps: [Config
|
|||||||
## Authors
|
## Authors
|
||||||
|
|
||||||
Copyright (C) 2016 [Daniel Falkner](https://github.com/derdanu)
|
Copyright (C) 2016 [Daniel Falkner](https://github.com/derdanu)
|
||||||
Copyright (C) 2017 Lin Song
|
Copyright (C) 2017-2018 Lin Song
|
||||||
|
|
||||||
## Screenshot
|
## Screenshot
|
||||||
|
|
||||||
|
@ -25,34 +25,21 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"allowedValues": [
|
"allowedValues": [
|
||||||
"ubuntu1604",
|
"ubuntu1604",
|
||||||
"debian8"
|
"debian9"
|
||||||
],
|
],
|
||||||
"defaultValue": "debian8",
|
"defaultValue": "debian9",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"description": "OS to use. Debian 8 or Ubuntu 16.04 LTS"
|
"description": "OS to use. Debian 9 or Ubuntu 16.04 LTS"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"VMSize": {
|
"VMSize": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"defaultValue": "Basic_A0",
|
"defaultValue": "Standard_B1s",
|
||||||
"allowedValues": [
|
"allowedValues": [
|
||||||
"Basic_A0",
|
"Standard_B1s",
|
||||||
"Basic_A1",
|
"Standard_B1ms",
|
||||||
"Basic_A2",
|
"Standard_B2s",
|
||||||
"Basic_A3",
|
"Standard_B2ms"
|
||||||
"Basic_A4",
|
|
||||||
"Standard_A0",
|
|
||||||
"Standard_A1",
|
|
||||||
"Standard_A2",
|
|
||||||
"Standard_A3",
|
|
||||||
"Standard_A4",
|
|
||||||
"Standard_A5",
|
|
||||||
"Standard_A6",
|
|
||||||
"Standard_A7",
|
|
||||||
"Standard_D1",
|
|
||||||
"Standard_D2",
|
|
||||||
"Standard_D3",
|
|
||||||
"Standard_D4"
|
|
||||||
],
|
],
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"description": "The size of the Virtual Machine."
|
"description": "The size of the Virtual Machine."
|
||||||
@ -77,10 +64,10 @@
|
|||||||
"sku": "16.04-LTS",
|
"sku": "16.04-LTS",
|
||||||
"version": "latest"
|
"version": "latest"
|
||||||
},
|
},
|
||||||
"debian8": {
|
"debian9": {
|
||||||
"publisher": "credativ",
|
"publisher": "credativ",
|
||||||
"offer": "Debian",
|
"offer": "Debian",
|
||||||
"sku": "8",
|
"sku": "9",
|
||||||
"version": "latest"
|
"version": "latest"
|
||||||
},
|
},
|
||||||
"installScriptURL": "https://raw.githubusercontent.com/hwdsl2/setup-ipsec-vpn/master/azure/install.sh",
|
"installScriptURL": "https://raw.githubusercontent.com/hwdsl2/setup-ipsec-vpn/master/azure/install.sh",
|
||||||
|
@ -4,4 +4,7 @@ export VPN_IPSEC_PSK=$1
|
|||||||
export VPN_USER=$2
|
export VPN_USER=$2
|
||||||
export VPN_PASSWORD=$3
|
export VPN_PASSWORD=$3
|
||||||
|
|
||||||
|
# Wait 60 seconds for apt/dpkg lock
|
||||||
|
sleep 60
|
||||||
|
|
||||||
wget https://git.io/vpnsetup -O vpnsetup.sh && sh vpnsetup.sh
|
wget https://git.io/vpnsetup -O vpnsetup.sh && sh vpnsetup.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user