]> 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, 22 Sep 2014 21:50:19 +0000 (17:50 -0400)
Signed-off-by: Bill Kolokithas <kolokithas.b@gmail.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
templates/lxc-archlinux.in

index ec14a9a7bfb06e04e8d77a05f04703ed7948fff2..ea4cfcbad574193e8f44fd682612fd9aaf0f362d 100755 (executable)
@@ -76,7 +76,7 @@ configure_arch() {
         cp -p /etc/vconsole.conf /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"
         echo "KEYMAP=us" > "${rootfs_path}/etc/vconsole.conf"
         cat > "${rootfs_path}/etc/adjtime" << EOF
 0.0 0.0 0.0