From 64b68adaee842e52a9aed4120e0919f33c3b98a4 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 27 Jun 2023 15:03:37 +0200 Subject: [SS*S] Add /etc/locale.conf --- satellit_installer/static_files/system/etc/locale.conf | 1 + satellit_upgrader/updater.template.sh | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 satellit_installer/static_files/system/etc/locale.conf 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 -- cgit v1.2.3-55-g7522