Skip to content

Commit 7fc8428

Browse files
committed
Added comment regarding temporary fix
- Added comment to top of module file to indicate that this fix is temporary and will be removed once the fix is applied to the base AMI.
1 parent ce006a9 commit 7fc8428

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

certs/templates/user_data.tpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#cloud-config
2+
## The sed and daemon-reload entries are temporary and will be removed once permission issue is handled on base AMI.
3+
## https://github.com/WhistleLabs/terraform-aws-openvpn/pull/2
24
runcmd:
35
- echo "OPENVPN_CERT_SOURCE=s3://${replace(s3_bucket,"/(/)+$/","")}/${replace(s3_bucket_prefix,"/^(/)+|(/)+$/","")}" > /etc/openvpn/get-openvpn-certs.env
46
- echo "push \"route $(ip route get 8.8.8.8| grep src| sed 's/.*src \(.*\)$/\1/g') 255.255.255.255 net_gateway\"" >> /etc/openvpn/server.conf

0 commit comments

Comments
 (0)