Fix broken locale in Ubuntu boxes

This commit is contained in:
Abe Voelker 2014-01-04 16:04:38 -06:00 committed by Fabio Rehm
parent 9ed8f0c205
commit bba250255a

View file

@ -61,6 +61,10 @@ fi
# See https://github.com/fgrehm/vagrant-lxc/issues/91 for more info
echo 'ff02::3 ip6-allhosts' >> ${ROOTFS}/etc/hosts
# Ensure locales are properly set, based on http://askubuntu.com/a/238063
chroot ${ROOTFS} locale-gen en_US.UTF-8
chroot ${ROOTFS} dpkg-reconfigure locales
##################################################################################
# 2 - Prepare vagrant user