Copy the "locale" into base container image
The default file "locale" and the systemd "locale.conf" are not always present in a container. While these files are not required, without them we get noise in the journal. > Example: http://paste.openstack.org/show/710781 This change simply includes the locales from the host into the base container image which resolves the issue. Change-Id: I2f3ec049b058aefbd7e05e289d3da0daeb85c74a Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
parent
f855b75ed8
commit
e62de979cb
@ -20,8 +20,10 @@ _lxc_cache_map:
|
|||||||
arch: "{{ lxc_architecture_mapping.get( ansible_architecture ) }}"
|
arch: "{{ lxc_architecture_mapping.get( ansible_architecture ) }}"
|
||||||
release: 7
|
release: 7
|
||||||
copy_from_host:
|
copy_from_host:
|
||||||
|
- /etc/default/locale
|
||||||
- /etc/environment
|
- /etc/environment
|
||||||
- /etc/localtime
|
- /etc/localtime
|
||||||
|
- /etc/locale.conf
|
||||||
- /etc/protocols
|
- /etc/protocols
|
||||||
- /etc/pki/rpm-gpg/
|
- /etc/pki/rpm-gpg/
|
||||||
- /etc/yum/pluginconf.d/fastestmirror.conf
|
- /etc/yum/pluginconf.d/fastestmirror.conf
|
||||||
|
@ -22,8 +22,10 @@ _lxc_cache_map:
|
|||||||
arch: "{{ lxc_architecture_mapping.get( ansible_architecture ) }}"
|
arch: "{{ lxc_architecture_mapping.get( ansible_architecture ) }}"
|
||||||
release: "42.3"
|
release: "42.3"
|
||||||
copy_from_host:
|
copy_from_host:
|
||||||
|
- /etc/default/locale
|
||||||
- /etc/environment
|
- /etc/environment
|
||||||
- /etc/localtime
|
- /etc/localtime
|
||||||
|
- /etc/locale.conf
|
||||||
- /etc/protocols
|
- /etc/protocols
|
||||||
- /etc/zypp/repos.d/repo-oss.repo
|
- /etc/zypp/repos.d/repo-oss.repo
|
||||||
- /etc/zypp/repos.d/repo-update.repo
|
- /etc/zypp/repos.d/repo-update.repo
|
||||||
|
@ -23,8 +23,10 @@ _lxc_cache_map:
|
|||||||
- /etc/apt/sources.list
|
- /etc/apt/sources.list
|
||||||
- /etc/apt/apt.conf.d/
|
- /etc/apt/apt.conf.d/
|
||||||
- /etc/apt/preferences.d/
|
- /etc/apt/preferences.d/
|
||||||
|
- /etc/default/locale
|
||||||
- /etc/environment
|
- /etc/environment
|
||||||
- /etc/localtime
|
- /etc/localtime
|
||||||
|
- /etc/locale.conf
|
||||||
- /root/repo.keys
|
- /root/repo.keys
|
||||||
- /etc/protocols
|
- /etc/protocols
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user