diff options
| author | Maksim Malchuk <maksim.malchuk@gmail.com> | 2024-08-09 21:21:48 +0300 |
|---|---|---|
| committer | Maksim Malchuk <maksim.malchuk@gmail.com> | 2024-08-21 15:14:02 +0000 |
| commit | ea0bfb6bc78caff014426aa690422ffea5f0dad4 (patch) | |
| tree | cd141290987f82f68af34ae1ea775e30b30b6285 /docker/base/httpd_setup.sh | |
| parent | 8e05ae685b5c5b3e5950fede5116cc2f46e85616 (diff) | |
| download | kolla-8063c658a8165b373dd3fa67dd359a84964151ee.tar.gz kolla-8063c658a8165b373dd3fa67dd359a84964151ee.zip | |
Configure Apache services to use correct localezed-eol
Closes-Bug: #2076453
Change-Id: I6af9baf09a19a7dbcaf98585870aa44ff79398d3
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
(cherry picked from commit 2caa64df67349b365b5ce94a0e9625d0b6ff87d1)
Diffstat (limited to 'docker/base/httpd_setup.sh')
| -rw-r--r-- | docker/base/httpd_setup.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docker/base/httpd_setup.sh b/docker/base/httpd_setup.sh index eb3d6794e..35f7b5b1e 100644 --- a/docker/base/httpd_setup.sh +++ b/docker/base/httpd_setup.sh @@ -39,3 +39,13 @@ EOF /usr/libexec/httpd-ssl-gencerts fi fi + +# The default system locale with unicode support +LANG=C.UTF-8 + +# Override the default locale if configured +if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then + [ -f /etc/default/locale ] && . /etc/default/locale +else + [ -f /etc/locale.conf ] && . /etc/locale.conf +fi |
