1
0
mirror of synced 2024-11-27 07:16:05 +03:00
setup-ipsec-vpn/azure/install.sh

13 lines
288 B
Bash
Raw Normal View History

2016-08-11 05:25:44 +03:00
#!/bin/bash
2016-08-10 16:29:42 +03:00
export VPN_IPSEC_PSK=$1
export VPN_USER=$2
export VPN_PASSWORD=$3
# Debian on Azure has no lsb_release installed.
if ! [[ -x "/usr/bin/lsb_release" ]]
then
apt-get update
apt-get install -y lsb-release
fi
wget https://git.io/vpnsetup -O vpnsetup.sh && sh vpnsetup.sh