home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add borgbackup to each server.
[config]
/
buster
/
setup_scripts
/
setup_server.sh
diff --git
a/buster/setup_scripts/setup_server.sh
b/buster/setup_scripts/setup_server.sh
index 6d92c7c979266829d7d606c1711c446055cf6e95..4eeaec495f8b9776fdb912fc76f5a971e2180446 100755
(executable)
--- a/
buster/setup_scripts/setup_server.sh
+++ b/
buster/setup_scripts/setup_server.sh
@@
-16,3
+16,10
@@
config_tree_prefix="${HOME}/config/buster"
setup_scripts_dir="${config_tree_prefix}/setup_scripts"
cd "${setup_scripts_dir}"
./setup.sh "${hostname}" "${fqdn}" server
setup_scripts_dir="${config_tree_prefix}/setup_scripts"
cd "${setup_scripts_dir}"
./setup.sh "${hostname}" "${fqdn}" server
+
+# 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