Configure locales and timezone

This commit is contained in:
Thorsten Spille 2021-04-08 21:16:22 +02:00
parent c639d213df
commit 3d46ec1f7a

View File

@ -1,7 +1,18 @@
#!/bin/bash #!/bin/bash
# Authors:
# (C) 2021 Idea an concept by Christian Zengel <christian@sysops.de>
# (C) 2021 Script design and prototype by Markus Helmke <helmke@cloudistboese.de>
# (C) 2021 Script rework by Thorsten Spille <thorsten@spille-edv.de>
source ./zamba.conf source ./zamba.conf
# Set Timezone
ln -sf /usr/share/zoneinfo/$LXC_TIMEZONE /etc/localtime
# configure system language
dpkg-reconfigure locales
apt update && apt full-upgrade -y apt update && apt full-upgrade -y
echo -ne '\n' | apt install -y $LXC_TOOLSET acl samba winbind libpam-winbind libnss-winbind krb5-user krb5-config samba-dsdb-modules samba-vfs-modules echo -ne '\n' | apt install -y $LXC_TOOLSET acl samba winbind libpam-winbind libnss-winbind krb5-user krb5-config samba-dsdb-modules samba-vfs-modules