boxes: Ensure locales are properly set on debianoid boxes

This commit is contained in:
Fabio Rehm 2014-03-09 17:21:15 -03:00
parent 3ff6046228
commit a7074545ed

View file

@ -15,6 +15,11 @@ lxc-attach -n ${CONTAINER} -- apt-get update
lxc-attach -n ${CONTAINER} -- apt-get install ${UBUNTU_PACKAGES[*]} -y --force-yes lxc-attach -n ${CONTAINER} -- apt-get install ${UBUNTU_PACKAGES[*]} -y --force-yes
lxc-attach -n ${CONTAINER} -- apt-get upgrade -y --force-yes lxc-attach -n ${CONTAINER} -- apt-get upgrade -y --force-yes
# TODO: SEPARATE FILE!
# Ensure locales are properly set, based on http://askubuntu.com/a/238063
lxc-attach -n ${CONTAINER} -- locale-gen en_US.UTF-8
lxc-attach -n ${CONTAINER} -- dpkg-reconfigure locales
CHEF=${CHEF:-0} CHEF=${CHEF:-0}
PUPPET=${PUPPET:-0} PUPPET=${PUPPET:-0}
SALT=${SALT:-0} SALT=${SALT:-0}