From 0ef990bff99bc5c77021aaba0dd8ec2e8247c3db Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Mon, 21 Mar 2022 03:19:48 +0000 Subject: [PATCH] delete old wesher + wireguard job files. we *may* need backprots in bullseye for wireguard, but I'm really hoping we don't. --- jobs/wesher/wesher.job | 27 --------------------------- jobs/wireguard/wireguard.job | 11 ----------- 2 files changed, 38 deletions(-) delete mode 100755 jobs/wesher/wesher.job delete mode 100755 jobs/wireguard/wireguard.job diff --git a/jobs/wesher/wesher.job b/jobs/wesher/wesher.job deleted file mode 100755 index 1b76d14..0000000 --- a/jobs/wesher/wesher.job +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env bash - -echo "Don't forget to run the wireguard job first"; - -# Sort out log rotation -COPY "${JOBFILE_DIR}/wesher.logrotate" "/tmp/wesher.logrotate" -RUN "sudo mv /tmp/wesher.logrotate /etc/logrotate.d/wesher" -RUN "sudo chown root:root /etc/logrotate.d/wesher" - -RUN "sudo apt-get update"; - -RUN "sudo apt-get install --yes wesher wesher-systemd"; - -RUN "sudo ufw allow 7946 comment wesher-gossip"; -RUN "sudo ufw allow 51820/udp comment wesher-wireguard"; - -# Allow all traffic from the VPN; we don't actually know what ports Nomad will use -RUN "sudo ufw allow in on wgoverlay"; - -# Activate the new logging system -RUN "sudo systemctl restart logrotate" - -# See the Keepass entry in our database for copy-paste commands to join nodes. -# Basically: -# sudo wesher --cluster-key CLUSTER_KEY_HERE --join 172.16.230.100 --overlay-net 172.31.250.0/16 --log-level info -# sudo systemctl enable --now wesher.service -# sudo systemctl status wesher.service diff --git a/jobs/wireguard/wireguard.job b/jobs/wireguard/wireguard.job deleted file mode 100755 index 0d860ab..0000000 --- a/jobs/wireguard/wireguard.job +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env bash - -RUN "sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC 648ACFD622F3D138"; - -RUN "echo 'deb http://httpredir.debian.org/debian buster-backports main contrib non-free' | sudo tee /etc/apt/sources.list.d/debian-backports.list"; - -RUN "sudo apt-get update"; - -RUN "sudo apt-get install --yes raspberrypi-kernel-headers"; - -RUN "sudo apt-get install --yes wireguard";