1
0
mirror of synced 2024-11-23 05:26:02 +03:00
setup-ipsec-vpn/azure/install.sh
hwdsl2 7f65604250 Update Azure template
- Use Debian 9 instead of Debian 8
- Update Virtual Machine size options
- Add wait for apt/dpkg lock in install.sh
2018-05-10 02:57:08 -05:00

11 lines
186 B
Bash

#!/bin/sh
export VPN_IPSEC_PSK=$1
export VPN_USER=$2
export VPN_PASSWORD=$3
# Wait 60 seconds for apt/dpkg lock
sleep 60
wget https://git.io/vpnsetup -O vpnsetup.sh && sh vpnsetup.sh