summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2023-06-27 15:03:37 +0200
committerSimon Rettberg2023-06-27 15:03:37 +0200
commit64b68adaee842e52a9aed4120e0919f33c3b98a4 (patch)
tree961033eefd142bb04525a62b9153020c6080f3c9
parent[SS*S] tmate now requires SHA256 fingerprints in its config file (diff)
downloadsetup-scripts-64b68adaee842e52a9aed4120e0919f33c3b98a4.tar.gz
setup-scripts-64b68adaee842e52a9aed4120e0919f33c3b98a4.tar.xz
setup-scripts-64b68adaee842e52a9aed4120e0919f33c3b98a4.zip
[SS*S] Add /etc/locale.conf
-rw-r--r--satellit_installer/static_files/system/etc/locale.conf1
-rw-r--r--satellit_upgrader/updater.template.sh3
2 files changed, 4 insertions, 0 deletions
diff --git a/satellit_installer/static_files/system/etc/locale.conf b/satellit_installer/static_files/system/etc/locale.conf
new file mode 100644
index 0000000..f9c983c
--- /dev/null
+++ b/satellit_installer/static_files/system/etc/locale.conf
@@ -0,0 +1 @@
+LANG=C.UTF-8
diff --git a/satellit_upgrader/updater.template.sh b/satellit_upgrader/updater.template.sh
index 287b3d2..c9c7e67 100644
--- a/satellit_upgrader/updater.template.sh
+++ b/satellit_upgrader/updater.template.sh
@@ -351,6 +351,9 @@ failprint apt autoremove -y
## Enable unix socket passwordless local connection (commented out since default in Debian 9+ anyways)
#mysql -e "UPDATE user SET plugin = 'unix_socket' WHERE Host = 'localhost' AND User = 'root'"
+# Fix locale to C.UTF-8 for systemd
+diffcp "system" "/etc/locale.conf"
+
# ********************** Taskmanager ***********************
# Do this first in case one of the later updates depends on the taskmanager
# Config files