mirror of
https://github.com/bashclub/zamba-lxc-toolbox.git
synced 2024-12-25 11:40:12 +01:00
moved reconfigure locales to beginning
This commit is contained in:
parent
5cc3394700
commit
55460306f7
@ -5,11 +5,11 @@
|
|||||||
# (C) 2021 Script design and prototype by Markus Helmke <helmke@cloudistboese.de>
|
# (C) 2021 Script design and prototype by Markus Helmke <helmke@cloudistboese.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
|
||||||
|
|
||||||
# Set Timezone
|
# Set Timezone
|
||||||
ln -sf /usr/share/zoneinfo/$LXC_TIMEZONE /etc/localtime
|
ln -sf /usr/share/zoneinfo/$LXC_TIMEZONE /etc/localtime
|
||||||
|
|
||||||
dpkg-reconfigure locales
|
|
||||||
|
|
||||||
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt install -y -o DPkg::options::="--force-confdef" -o DPkg::options::="--force-confold" $LXC_TOOLSET
|
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt install -y -o DPkg::options::="--force-confdef" -o DPkg::options::="--force-confold" $LXC_TOOLSET
|
@ -5,14 +5,14 @@
|
|||||||
# (C) 2021 Script design and prototype by Markus Helmke <helmke@cloudistboese.de>
|
# (C) 2021 Script design and prototype by Markus Helmke <helmke@cloudistboese.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>
|
||||||
|
|
||||||
|
# configure system language
|
||||||
|
dpkg-reconfigure locales
|
||||||
|
|
||||||
source /root/zamba.conf
|
source /root/zamba.conf
|
||||||
|
|
||||||
# Set Timezone
|
# Set Timezone
|
||||||
ln -sf /usr/share/zoneinfo/$LXC_TIMEZONE /etc/localtime
|
ln -sf /usr/share/zoneinfo/$LXC_TIMEZONE /etc/localtime
|
||||||
|
|
||||||
# configure system language
|
|
||||||
dpkg-reconfigure locales
|
|
||||||
|
|
||||||
MRX_PKE=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
|
MRX_PKE=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
|
||||||
|
|
||||||
ELE_DBNAME="synapse_db"
|
ELE_DBNAME="synapse_db"
|
||||||
|
@ -5,6 +5,9 @@
|
|||||||
# (C) 2021 Script design and prototype by Markus Helmke <helmke@cloudistboese.de>
|
# (C) 2021 Script design and prototype by Markus Helmke <helmke@cloudistboese.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>
|
||||||
|
|
||||||
|
# configure system language
|
||||||
|
dpkg-reconfigure locales
|
||||||
|
|
||||||
source /root/zamba.conf
|
source /root/zamba.conf
|
||||||
|
|
||||||
if [[ $ZMB_DNS_BACKEND == "BIND9_DLZ" ]]; then
|
if [[ $ZMB_DNS_BACKEND == "BIND9_DLZ" ]]; then
|
||||||
@ -14,9 +17,6 @@ fi
|
|||||||
# Set Timezone
|
# Set Timezone
|
||||||
ln -sf /usr/share/zoneinfo/$LXC_TIMEZONE /etc/localtime
|
ln -sf /usr/share/zoneinfo/$LXC_TIMEZONE /etc/localtime
|
||||||
|
|
||||||
# configure system language
|
|
||||||
dpkg-reconfigure locales
|
|
||||||
|
|
||||||
## configure ntp
|
## configure ntp
|
||||||
cat << EOF > /etc/ntp.conf
|
cat << EOF > /etc/ntp.conf
|
||||||
# Local clock. Note that is not the "localhost" address!
|
# Local clock. Note that is not the "localhost" address!
|
||||||
|
@ -5,14 +5,14 @@
|
|||||||
# (C) 2021 Script design and prototype by Markus Helmke <helmke@cloudistboese.de>
|
# (C) 2021 Script design and prototype by Markus Helmke <helmke@cloudistboese.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>
|
||||||
|
|
||||||
|
# configure system language
|
||||||
|
dpkg-reconfigure locales
|
||||||
|
|
||||||
source /root/zamba.conf
|
source /root/zamba.conf
|
||||||
|
|
||||||
# Set Timezone
|
# Set Timezone
|
||||||
ln -sf /usr/share/zoneinfo/$LXC_TIMEZONE /etc/localtime
|
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user