Merge "base: use en_US.UTF-8 locale on all distros"

This commit is contained in:
Zuul 2019-10-29 17:33:15 +00:00 committed by Gerrit Code Review
commit ff40bc6e05
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% block base_lang %}
# NOTE(yoctozepto): use a UTF-8 (Unicode) locale like standard image installs do
# fixes issues arising from ascii fallback usage
ENV LANG C.UTF-8
ENV LANG en_US.UTF-8
{% endblock %}
{# NOTE(SamYaple): Avoid uid/gid conflicts by creating each user/group up front. #}

View File

@ -1,7 +1,7 @@
---
upgrade:
- |
``C.UTF-8`` is set as the default locale (``LANG``) for images.
``en_US.UTF-8`` is set as the default locale (``LANG``) for images.
This affects both build- and run-time.
Distributions supported by Kolla default to UTF-8 locale in
installs so this change should provide a more expected experience.