mirror of
https://github.com/bashclub/zamba-lxc-toolbox.git
synced 2024-12-25 11:40:12 +01:00
lxc-base: add en_US.UTF-8 as default locale
This commit is contained in:
parent
02862eb565
commit
3b2eb57d58
@ -16,6 +16,7 @@ source /root/constants-service.conf
|
|||||||
echo "Updating locales"
|
echo "Updating locales"
|
||||||
# update locales
|
# update locales
|
||||||
sed -i "s|# $LXC_LOCALE|$LXC_LOCALE|" /etc/locale.gen
|
sed -i "s|# $LXC_LOCALE|$LXC_LOCALE|" /etc/locale.gen
|
||||||
|
sed -i "s|# en_US.UTF-8|en_US.UTF-8|" /etc/locale.gen
|
||||||
cat << EOF > /etc/default/locale
|
cat << EOF > /etc/default/locale
|
||||||
LANG="$LXC_LOCALE"
|
LANG="$LXC_LOCALE"
|
||||||
LANGUAGE=$LXC_LOCALE
|
LANGUAGE=$LXC_LOCALE
|
||||||
|
Loading…
Reference in New Issue
Block a user