parent
297f2739b9
commit
e0cbc1db49
@ -3,28 +3,22 @@
|
|||||||
"Mappings": {
|
"Mappings": {
|
||||||
"OS": {
|
"OS": {
|
||||||
"Ubuntu1804": {
|
"Ubuntu1804": {
|
||||||
"HelperInstallationCommands": "export DEBIAN_FRONTEND=noninteractive\napt-get -yq update\napt-get -yq install python3-pip\npython3 -m pip install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-py3-latest.tar.gz\n",
|
"HelperInstallationCommands": "export DEBIAN_FRONTEND=noninteractive\napt-get -yq update\napt-get -yq install python3-pip\npython3 -m pip install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-py3-latest.tar.gz\n"
|
||||||
"InstallationLinks": "https://git.io/vpnsetup"
|
|
||||||
},
|
},
|
||||||
"Ubuntu2004": {
|
"Ubuntu2004": {
|
||||||
"HelperInstallationCommands": "export DEBIAN_FRONTEND=noninteractive\napt-get -yq update\napt-get -yq install python3-pip\npython3 -m pip install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-py3-latest.tar.gz\n",
|
"HelperInstallationCommands": "export DEBIAN_FRONTEND=noninteractive\napt-get -yq update\napt-get -yq install python3-pip\npython3 -m pip install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-py3-latest.tar.gz\n"
|
||||||
"InstallationLinks": "https://git.io/vpnsetup"
|
|
||||||
},
|
},
|
||||||
"Debian9": {
|
"Debian9": {
|
||||||
"HelperInstallationCommands": "export DEBIAN_FRONTEND=noninteractive\napt-get -yq update\napt-get -yq install python3-pip\npython3 -m pip install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-py3-latest.tar.gz\n",
|
"HelperInstallationCommands": "export DEBIAN_FRONTEND=noninteractive\napt-get -yq update\napt-get -yq install python3-pip\npython3 -m pip install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-py3-latest.tar.gz\n"
|
||||||
"InstallationLinks": "https://git.io/vpnsetup"
|
|
||||||
},
|
},
|
||||||
"CentOS7": {
|
"CentOS7": {
|
||||||
"HelperInstallationCommands": "yum -y install python3 wget\npython3 -m pip install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-py3-latest.tar.gz\n",
|
"HelperInstallationCommands": "yum -y install python3 wget\npython3 -m pip install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-py3-latest.tar.gz\n"
|
||||||
"InstallationLinks": "https://git.io/vpnsetup"
|
|
||||||
},
|
},
|
||||||
"CentOS8": {
|
"CentOS8": {
|
||||||
"HelperInstallationCommands": "yum -y install python3 wget\npython3 -m pip install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-py3-latest.tar.gz\n",
|
"HelperInstallationCommands": "yum -y install python3 wget\npython3 -m pip install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-py3-latest.tar.gz\n"
|
||||||
"InstallationLinks": "https://git.io/vpnsetup"
|
|
||||||
},
|
},
|
||||||
"AmazonLinux2": {
|
"AmazonLinux2": {
|
||||||
"HelperInstallationCommands": "export PATH=\"$PATH:/opt/aws/bin\"\n",
|
"HelperInstallationCommands": "export PATH=\"$PATH:/opt/aws/bin\"\n"
|
||||||
"InstallationLinks": "https://git.io/vpnsetup"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -393,17 +387,7 @@
|
|||||||
"Ref": "VpnPassword"
|
"Ref": "VpnPassword"
|
||||||
},
|
},
|
||||||
"'\n",
|
"'\n",
|
||||||
"wget -t 3 -T 30 -nv -O vpn.sh ",
|
"wget -t 3 -T 30 -nv -O vpn.sh https://git.io/vpnsetup\n",
|
||||||
{
|
|
||||||
"Fn::FindInMap": [
|
|
||||||
"OS",
|
|
||||||
{
|
|
||||||
"Ref": "OS"
|
|
||||||
},
|
|
||||||
"InstallationLinks"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"\n",
|
|
||||||
"sh vpn.sh\n",
|
"sh vpn.sh\n",
|
||||||
"cfn-signal -e 0 ",
|
"cfn-signal -e 0 ",
|
||||||
" --stack ",
|
" --stack ",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user