modify installation command, and fix zip-packaging issue
This commit is contained in:
parent
a36314bc0d
commit
9cdb60799c
@ -40,7 +40,7 @@
|
||||
"HelperInstallationCommands": "export DEBIAN_FRONTEND=noninteractive\nrm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED\napt-get -yq update\napt-get -yq install python3-pip zip\npython3 -m pip install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-py3-latest.tar.gz\n"
|
||||
},
|
||||
"CentOS7": {
|
||||
"HelperInstallationCommands": "yum -y install python3 wget zip\npython3 -m pip install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-py3-latest.tar.gz\n"
|
||||
"HelperInstallationCommands": "yum -y install python3 wget zip awscli\npython3 -m pip install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-py3-latest.tar.gz\n"
|
||||
},
|
||||
"AmazonLinux2": {
|
||||
"HelperInstallationCommands": "export PATH=\"$PATH:/opt/aws/bin\"\n"
|
||||
@ -247,11 +247,11 @@
|
||||
"sh vpn.sh\n",
|
||||
"mkdir /root/profiles\n",
|
||||
"cp /root/vpnclient* /root/profiles\n",
|
||||
"zip -er --password '",
|
||||
"cd /root/ && zip -er --password '",
|
||||
{
|
||||
"Ref": "VpnPassword"
|
||||
},
|
||||
"' /root/profiles.zip /root/profiles\n",
|
||||
"' profiles.zip ./profiles\n",
|
||||
"aws s3 cp /root/profiles.zip s3://",
|
||||
{
|
||||
"Ref": "Ikev2S3Bucket"
|
||||
|
Loading…
Reference in New Issue
Block a user