forked from hwdsl2/setup-ipsec-vpn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Switch to version 2 of the Azure Custom Script Extension - Use default VM size "Basic_A0" for deployments (configurable) - Clean up install.sh, and other minor improvements
- Loading branch information
Showing
5 changed files
with
29 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,7 @@ | ||
#!/bin/bash | ||
#!/bin/sh | ||
|
||
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 | ||
wget https://git.io/vpnsetup -O vpnsetup.sh && sh vpnsetup.sh |