X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=all_new_2018%2Fsetup_scripts%2Fsetup_server.sh;h=172d8d290fe802f3c2e11e51c832082327764b6f;hb=cb3f7e2e8fbc76518f7dd808d990649399ff0c71;hp=b47a495114ffba35d07a30fd81519160f317e8fd;hpb=eafecb0ed8c373dc4f33b6190375fdc3d5c4d841;p=config
diff --git a/all_new_2018/setup_scripts/setup_server.sh b/all_new_2018/setup_scripts/setup_server.sh
index b47a495..172d8d2 100755
--- a/all_new_2018/setup_scripts/setup_server.sh
+++ b/all_new_2018/setup_scripts/setup_server.sh
@@ -34,6 +34,9 @@ apt update
./install_for_target.sh all server
./purge_nonrequireds.sh all server
+# Ensure our desired locale is available.
+locale-gen
+
# Only upgrade after reducing the system to the desired minimum, so that
# we don't need to get more data than necessary.
apt -y dist-upgrade
@@ -44,3 +47,6 @@ ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime
# If we have not yet set the shell for user plom, ensure it here. This
# 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