Skip to content

Commit

Permalink
update language fix for yum
Browse files Browse the repository at this point in the history
  • Loading branch information
jperrin committed Mar 15, 2017
1 parent 96659e1 commit 2892c17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/centos-7.ks
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ timezone --isUtc --nontp UTC
selinux --enforcing
firewall --disabled
network --bootproto=dhcp --device=link --activate --onboot=on
reboot
shutdown
bootloader --disable
lang en_US

Expand Down Expand Up @@ -89,7 +89,7 @@ passwd -l root
#LANG="en_US"
#echo "%_install_lang $LANG" > /etc/rpm/macros.image-language-conf

awk '(NF==0&&!done){print "override_install_langs='$LANG'\ntsflags=nodocs";done=1}{print}' \
awk '(NF==0&&!done){print "override_install_langs=en_US.utf8\ntsflags=nodocs";done=1}{print}' \
< /etc/yum.conf > /etc/yum.conf.new
mv /etc/yum.conf.new /etc/yum.conf
echo 'container' > /etc/yum/vars/infra
Expand Down

0 comments on commit 2892c17

Please sign in to comment.