vagrant provision working

This commit is contained in:
Jamil Bou Kheir
2021-07-23 13:38:19 -07:00
parent 1051a23405
commit 892115fa0a
2 changed files with 13 additions and 6 deletions

View File

@@ -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

View File

@@ -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