openstack-ansible-lxc_hosts/templates
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
..
meta-data Use local container meta-data 2018-03-19 15:07:26 +00:00
prep-scripts Fix locales on Ubuntu 2018-04-14 17:43:48 -05:00
irqbalance.j2 IRR for lxc_host 2015-11-03 04:22:57 -06:00
lxc-dnsmasq-systemd-init.j2 Add ExecStartPre command to lxc-dnsmasq service unit 2017-11-10 16:13:54 -06:00
lxc-image-fetch-url.py.j2 Convert lxc_hosts role to use simple download URL 2018-03-21 23:52:53 +00:00
lxc-net-bridge.cfg.j2 Use handlers to restart services and move dnsmasq to a unit file 2017-11-01 15:19:22 -05:00
lxc-net-redhat-bridge.cfg.j2 Allow NetworkManager to work (if present) 2018-01-08 09:22:51 -06:00
lxc-net-suse-bridge.cfg.j2 Stop trying to set MTU on LXC bridge interface 2017-10-19 15:58:51 -04:00
lxc-net-suse-routes.cfg.j2 Fix container bridge networking on SUSE 2017-05-08 11:24:12 +01:00
lxc-net-suseredhat-postdown.cfg.j2 Fix lxc_net configuration for CentOS/SUSE 2017-09-12 15:39:09 -06:00
lxc-openstack.apparmor.j2 IRR for lxc_host 2015-11-03 04:22:57 -06:00
lxc-openstack.conf.j2 Cleanup the host prep role & remove redundant tasks 2018-02-28 08:34:15 -06:00
lxc-system-manage.j2 Fix lxc-system-manage ipv6 setup 2018-04-01 22:42:19 -05:00
lxc.default.j2 IRR for lxc_host 2015-11-03 04:22:57 -06:00
sudoers.j2 Remove requiretty for sudo on centos base image. 2016-09-15 20:18:56 +00:00
systemd-machined.service.j2 tasks: Set systemd installation prefix 2017-04-25 14:56:33 +01:00
systemd-proxy-unit.conf.j2 Download LXC image with async via aria2 2017-08-15 12:34:26 +00:00