mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
vagrant provision working
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user