From: Christian Heller <c.heller@plomlompom.de>
Date: Tue, 21 Jan 2020 06:04:42 +0000 (+0100)
Subject: Move borgbackup install request to apt-mark script.
X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/conditions?a=commitdiff_plain;h=5f27fa18cf9f437b7419005228acaaef4be86271;p=config

Move borgbackup install request to apt-mark script.
---

diff --git a/buster/apt-mark/server b/buster/apt-mark/server
index 8183c9c..2ab22d2 100644
--- a/buster/apt-mark/server
+++ b/buster/apt-mark/server
@@ -2,3 +2,5 @@
 openssh-server
 # firewalling
 nftables
+# We want to be able to use ALL our servers as borg backup destinations.
+borgbackup
diff --git a/buster/setup_scripts/setup_server.sh b/buster/setup_scripts/setup_server.sh
index 5f05ce9..eefc350 100755
--- a/buster/setup_scripts/setup_server.sh
+++ b/buster/setup_scripts/setup_server.sh
@@ -21,8 +21,5 @@ cd "${setup_scripts_dir}"
 # is mostly for convenience.
 usermod -s /bin/bash plom
 
-# We want to be able to use ALL our servers as borg backup destinations.
-apt -y install borgbackup
-
 # Enable firewall.
 systemctl enable nftables.service