Commit 68b2fa16 by Bill Kolokithas Committed by Stéphane Graber

lxc-archlinux: Properly set default locale in /etc/locale.conf

parent e90b49d3
...@@ -76,7 +76,7 @@ configure_arch() { ...@@ -76,7 +76,7 @@ configure_arch() {
cp -p /etc/vconsole.conf /etc/locale.conf /etc/locale.gen \ cp -p /etc/vconsole.conf /etc/locale.conf /etc/locale.gen \
"${rootfs_path}/etc/" "${rootfs_path}/etc/"
else 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" echo "KEYMAP=us" > "${rootfs_path}/etc/vconsole.conf"
cat > "${rootfs_path}/etc/adjtime" << EOF cat > "${rootfs_path}/etc/adjtime" << EOF
0.0 0.0 0.0 0.0 0.0 0.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment