From a7074545ed2f0e6c08fafcd32ec8dafc34716e17 Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Sun, 9 Mar 2014 17:21:15 -0300 Subject: [PATCH] boxes: Ensure locales are properly set on debianoid boxes --- boxes/debian/install-extras.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/boxes/debian/install-extras.sh b/boxes/debian/install-extras.sh index 5a9aabc..3c04df0 100755 --- a/boxes/debian/install-extras.sh +++ b/boxes/debian/install-extras.sh @@ -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 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} PUPPET=${PUPPET:-0} SALT=${SALT:-0}