mirror of
https://git.bashclub.org/bashclub/zamba-lxc-toolbox.git
synced 2025-07-21 03:04:42 +02:00
Changed setting locales #20
This commit is contained in:
parent
a159dcebaf
commit
ea60e768de
1 changed files with 7 additions and 2 deletions
|
@ -5,10 +5,15 @@
|
||||||
# (C) 2021 Script design and prototype by Markus Helmke <m.helmke@nettwarker.de>
|
# (C) 2021 Script design and prototype by Markus Helmke <m.helmke@nettwarker.de>
|
||||||
# (C) 2021 Script rework and documentation by Thorsten Spille <thorsten@spille-edv.de>
|
# (C) 2021 Script rework and documentation by Thorsten Spille <thorsten@spille-edv.de>
|
||||||
|
|
||||||
dpkg-reconfigure locales
|
|
||||||
|
|
||||||
source /root/zamba.conf
|
source /root/zamba.conf
|
||||||
|
|
||||||
|
sed -i "s|# $LXC_LOCALE|$LXC_LOCALE|" /etc/locale.gen
|
||||||
|
cat << EOF > /etc/default/locale
|
||||||
|
LANG="$LXC_LOCALE"
|
||||||
|
LANGUAGE=$LXC_LOCALE
|
||||||
|
EOF
|
||||||
|
locale-gen $LXC_LOCALE
|
||||||
|
|
||||||
# Set Timezone
|
# Set Timezone
|
||||||
ln -sf /usr/share/zoneinfo/$LXC_TIMEZONE /etc/localtime
|
ln -sf /usr/share/zoneinfo/$LXC_TIMEZONE /etc/localtime
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue