From 5710f9ff65cd675de69ba505e39dee6daaa3529c Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Fri, 14 Nov 2014 10:19:21 -0500 Subject: [PATCH] make the cloud base lang hacks line up with the same filenames as in the docker image --- fedora-cloud-base.ks | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fedora-cloud-base.ks b/fedora-cloud-base.ks index 5a539a7..d2595c8 100644 --- a/fedora-cloud-base.ks +++ b/fedora-cloud-base.ks @@ -127,7 +127,10 @@ localedef --list-archive | grep -v ^en_US | xargs localedef --delete-from-archiv # this will kill a live system (since it's memory mapped) but should be safe offline mv -f /usr/lib/locale/locale-archive /usr/lib/locale/locale-archive.tmpl build-locale-archive -echo '%_install_langs C:en:en_US:en_US.UTF-8' >> /etc/rpm/macros.install_langs +echo '%_install_langs C:en:en_US:en_US.UTF-8' >> /etc/rpm/macros.image-language-conf +awk '(NF==0&&!done){print "override_install_langs='$LANG'";done=1}{print}' \ + < /etc/yum.conf > /etc/yum.conf.new +mv /etc/yum.conf.new /etc/yum.conf echo -n "Getty fixes"