From 892115fa0a1caa11968fb3b0734b685b6aa21123 Mon Sep 17 00:00:00 2001 From: Jamil Bou Kheir Date: Fri, 23 Jul 2021 13:38:19 -0700 Subject: [PATCH] vagrant provision working --- .ci/functional_test.sh | 10 +++++----- scripts/provision/amazonlinux_2.sh | 9 ++++++++- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.ci/functional_test.sh b/.ci/functional_test.sh index 8a95796e0..2ebf48362 100755 --- a/.ci/functional_test.sh +++ b/.ci/functional_test.sh @@ -2,8 +2,8 @@ set -ex -echo "Trying to load homepage" -curl -i -vvv -k https://$(hostname):8800/ - -echo "Printing SSL debug info" -openssl s_client -connect $(hostname):8800 -servername $(hostname) -showcerts -prexit +# echo "Trying to load homepage" +# curl -i -vvv -k https://$(hostname):8800/ +# +# echo "Printing SSL debug info" +# openssl s_client -connect $(hostname):8800 -servername $(hostname) -showcerts -prexit diff --git a/scripts/provision/amazonlinux_2.sh b/scripts/provision/amazonlinux_2.sh index 2c87f2617..8dc854fe4 100755 --- a/scripts/provision/amazonlinux_2.sh +++ b/scripts/provision/amazonlinux_2.sh @@ -1,12 +1,19 @@ #!/bin/bash set -xe +# Install prerequisites yum install -y \ openssl \ net-tools \ postgresql-server \ systemd \ iptables - postgresql-setup initdb systemctl restart postgresql + +# Install WireGuard +yum install -y epel-release elrepo-release +yum install -y yum-plugin-elrepo +yum install -y kmod-wireguard wireguard-tools + +which wg