From: Bill Kolokithas Date: Thu, 21 Aug 2014 12:52:50 +0000 (+0300) Subject: lxc-archlinux: Properly set default locale in /etc/locale.conf X-Git-Tag: lxc-1.1.0.alpha2~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fefbee4062ed863d242763676d4c57bea2ffb4c;p=thirdparty%2Flxc.git lxc-archlinux: Properly set default locale in /etc/locale.conf Signed-off-by: Bill Kolokithas Acked-by: Stéphane Graber --- diff --git a/templates/lxc-archlinux.in b/templates/lxc-archlinux.in index ceaff90b7..fc6f71494 100644 --- a/templates/lxc-archlinux.in +++ b/templates/lxc-archlinux.in @@ -75,7 +75,7 @@ configure_arch() { if [ "${is_arch}" ]; then cp -p /etc/locale.conf /etc/locale.gen "${rootfs_path}/etc/" else - echo "LANG=${default_lang}" > "${rootfs_path}/etc/locale.conf" + echo "LANG=${default_locale}" > "${rootfs_path}/etc/locale.conf" if [ -e "${rootfs_path}/etc/locale.gen" ]; then sed -i 's@^#\(en_US\.UTF-8\)@\1@' "${rootfs_path}/etc/locale.gen" if [ ! "${default_locale}" = "en_US.UTF-8" ]; then