openstack-ansible-lxc_hosts/vars
Logan V 9ad190a7c8 Fix locales on Ubuntu
The new Ubuntu base image we use does not ship with any locales
or locale configuration. A fix[1] attempted to remedy this by
copying the default locale configuration from the host, but it
is not a valid fix since the locale from the host is not present
or generated in the container cache. This causes things to break
on the system when valid locales are used, such as database
systems[2].

Instead, to prepare locales in Ubuntu[3], we should install the
locales package and provide a list of valid locales to prep
the base image. It is not necessary to copy /etc/default/locale
from the system. The first locale provided will be used as
the system's base locale by running 'update-locale' which
builds /etc/default/locale.

[1] e62de979cb
[2] http://paste.openstack.org/show/719241/
[3] https://www.thomas-krenn.com/en/wiki/Configure_Locales_in_Ubuntu#No_locale_set

Change-Id: Iaa5351777d7db464e8a897fdf33c0f440bfa601b
2018-04-14 17:43:48 -05:00
..
redhat-7-host.yml Split the container and host variable files 2018-03-21 23:53:12 +00:00
redhat-7.yml Copy the "locale" into base container image 2018-03-23 20:40:30 -05:00
suse-42-host.yml Split the container and host variable files 2018-03-21 23:53:12 +00:00
suse-42.yml Copy the "locale" into base container image 2018-03-23 20:40:30 -05:00
ubuntu-16.04-host.yml Split the container and host variable files 2018-03-21 23:53:12 +00:00
ubuntu-16.04.yml Fix locales on Ubuntu 2018-04-14 17:43:48 -05:00