diskimage-builder/elements
Ian Wienand b745821353 yum-minimal: set locale.conf and tz in chroot
We should be doing more to ensure initial configuration during
configuration.  Taken from the steps done by [1], here we set
locale.conf and a general timezone.

The only reliable UTF8 locale is en_US.UTF-8; we don't want to use C
locale as it causes havoc with things like python3 and unicode.  We
set locale.conf to this.

For Fedora 24 ensure we install the en_* locales too (this is really a
bug separate to this -- when you log in, by default ssh tries to copy
over your locale env variables, so logging into a F24 system would
result in using invalid locales for the most common en_* cases).

While we are here, setup a timezone link.  It turns out infra puppet
overwrites this later, but at least we have a sane default.

[1] https://www.freedesktop.org/software/systemd/man/systemd-firstboot.html#

Change-Id: Ib8951a97f1772bc5228c682e88628ff53400a923
2016-07-15 13:35:10 +10:00
..
apt-conf Update apt-conf elements README from free text to table formatting 2015-10-08 17:12:46 -07:00
apt-preferences Update apt-preferences element README from free text to table formatting 2015-10-08 17:14:16 -07:00
apt-sources Add a best-effort sudo safety check 2016-05-09 15:41:38 +10:00
architecture-emulation-binaries
baremetal Add a best-effort sudo safety check 2016-05-09 15:41:38 +10:00
base Merge "Export die() function" 2016-06-07 01:00:50 +00:00
bootloader Merge "Add a best-effort sudo safety check" 2016-05-26 17:31:00 +00:00
cache-url
centos Export YUM variable in centos bases 2016-07-01 12:14:38 +02:00
centos7 Export YUM variable in centos bases 2016-07-01 12:14:38 +02:00
centos-minimal Revert "Pre-install pip/virtualenv packages" 2016-07-05 20:09:39 +00:00
cleanup-kernel-initrd
cloud-init Add new cloud-init element 2016-02-01 21:03:03 -06:00
cloud-init-datasources Simple-init should disable cloud-init 2015-05-11 16:55:02 +00:00
cloud-init-disable-resizefs Fix cloud-init-disable-resizefs README title 2016-03-01 21:49:10 -08:00
cloud-init-nocloud
debian Fix apt-sources configuration for debian-minimal 2016-05-13 09:26:49 +02:00
debian-minimal Fix apt-sources configuration for debian-minimal 2016-05-13 09:26:49 +02:00
debian-systemd
debian-upstart
debootstrap Merge "Add cloud-initramfs-growroot for Precise" 2016-06-07 01:14:10 +00:00
deploy
deploy-baremetal
deploy-ironic deploy-ironic: Fix syntax error when checking for root device hints 2016-01-07 12:06:19 +00:00
deploy-kexec
deploy-targetcli
deploy-tgtadm
devuser Fix devuser pubkey defaults 2015-10-13 17:54:09 -07:00
dhcp-all-interfaces Merge "Add dhcp-all-interfaces.target for syncing units" 2016-05-18 19:39:10 +00:00
dib-init-system Depend on ifupdown in simple-init 2016-02-20 08:19:21 -06:00
dib-python Fix spurious = in dib-python readme 2016-03-07 04:47:35 +00:00
dib-run-parts/root.d dib-run-parts: make cp to target root more robust 2016-04-05 16:29:57 +02:00
disable-selinux/post-install.d
dkms Make dkms element depend on dkms package 2015-12-26 22:07:19 +00:00
docker Add base element for using docker as image base 2015-07-19 10:23:34 +00:00
dpkg Merge "Add a best-effort sudo safety check" 2016-05-26 17:31:00 +00:00
dracut-network
dracut-ramdisk Make troubleshoot work with dracut ramdisks 2015-04-08 12:54:32 -05:00
dynamic-login Follow up patch for 25d3ee5471 2015-12-01 14:11:40 +00:00
element-manifest
enable-serial-console
epel Fix up EPEL element 2016-04-15 12:37:22 +10:00
fedora Remove Fedora 21 from test-build 2016-05-30 22:54:58 +02:00
fedora-minimal Remove fedora-minimal/install.d/99-ramdisk 2015-11-19 21:03:45 +11:00
gentoo Add install-bin element 2016-05-13 11:52:23 +10:00
growroot Merge "Refactor growroot for debuggabilty" 2016-03-12 19:04:22 +00:00
grub2 Merge "Allow grub2 to build with opensuse" 2015-12-16 01:25:10 +00:00
hpdsa Add a new element hpdsa 2015-12-10 20:12:14 +00:00
hwburnin
hwdiscovery
ilo
install-bin Add install-bin element 2016-05-13 11:52:23 +10:00
install-static Install-static depends on rsync 2015-08-17 16:21:09 +00:00
install-types
ironic-agent Merge "dmidecode does not exist for ppc64/ppc64el" 2016-06-30 05:00:02 +00:00
ironic-discoverd-ramdisk dmidecode does not exist for ppc64/ppc64el 2016-06-29 16:51:46 -05:00
iso Add a best-effort sudo safety check 2016-05-09 15:41:38 +10:00
local-config Export die() function 2016-05-27 09:25:22 +10:00
manifests
mellanox
modprobe-blacklist
oat-client Add oat-client element 2015-06-26 09:57:12 +08:00
opensuse Add cinder-backup mappings 2016-06-07 14:15:47 +02:00
package-installs Add install-bin element 2016-05-13 11:52:23 +10:00
partitioning-sfdisk Merge "Export die() function" 2016-06-07 01:00:50 +00:00
pip-and-virtualenv Revert "Pre-install pip/virtualenv packages" 2016-07-05 20:09:39 +00:00
pip-cache
pkg-map Move pkg-map to dib-python 2016-06-08 21:16:50 +00:00
posix Add new posix element. 2016-03-20 10:42:34 -07:00
proliant-tools Install proliantutils in IPA's virtualenv 2016-05-02 01:56:26 -07:00
pypi Add a best-effort sudo safety check 2016-05-09 15:41:38 +10:00
ramdisk
ramdisk-base Adding InfiniBand Support 2016-02-17 04:43:29 +00:00
rax-nova-agent
redhat-common Add cinder-backup mappings 2016-06-07 14:15:47 +02:00
rhel Add a best-effort sudo safety check 2016-05-09 15:41:38 +10:00
rhel7 Run RHEL system unregister element earlier 2016-06-22 17:10:04 +02:00
rhel-common Run RHEL system unregister element earlier 2016-06-22 17:10:04 +02:00
rpm-distro Check sudoers file after editing 2016-07-07 09:51:43 -04:00
select-boot-kernel-initrd
selinux-permissive
serial-console
simple-init Fix OpenSUSE support 2016-05-03 22:23:51 -07:00
source-repositories Merge "Cleanup source-repositories output" 2016-06-07 00:59:02 +00:00
stable-interface-names
svc-map Initial add of gentoo support for diskimage-builder 2016-01-12 19:15:00 -06:00
uboot
ubuntu
ubuntu-core Merge "Make ubuntu-core support releases" 2016-07-06 23:49:31 +00:00
ubuntu-minimal
ubuntu-signed
vm Merge "Export die() function" 2016-06-07 01:00:50 +00:00
yum Add install-bin element 2016-05-13 11:52:23 +10:00
yum-minimal yum-minimal: set locale.conf and tz in chroot 2016-07-15 13:35:10 +10:00
zypper