]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lxc-archlinux: Properly set default locale in /etc/locale.conf
authorBill Kolokithas <kolokithas.b@gmail.com>
Thu, 21 Aug 2014 12:52:50 +0000 (15:52 +0300)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 25 Aug 2014 20:15:32 +0000 (16:15 -0400)
Signed-off-by: Bill Kolokithas <kolokithas.b@gmail.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
templates/lxc-archlinux.in

index ceaff90b7f1f77eb0b7d5c73d00d1528efd5747c..fc6f714948e849b90391a8a16658d911b1af37d4 100644 (file)
@@ -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