forked from bashclub/zamba-lxc-toolbox
		
	moved reconfigure locales to beginning
This commit is contained in:
		@@ -5,11 +5,11 @@
 | 
			
		||||
# (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>
 | 
			
		||||
 | 
			
		||||
dpkg-reconfigure locales
 | 
			
		||||
 | 
			
		||||
source /root/zamba.conf
 | 
			
		||||
 | 
			
		||||
# Set Timezone
 | 
			
		||||
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
 | 
			
		||||
@@ -5,14 +5,14 @@
 | 
			
		||||
# (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>
 | 
			
		||||
 | 
			
		||||
# configure system language
 | 
			
		||||
dpkg-reconfigure locales
 | 
			
		||||
 | 
			
		||||
source /root/zamba.conf
 | 
			
		||||
 | 
			
		||||
# Set Timezone
 | 
			
		||||
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)
 | 
			
		||||
 | 
			
		||||
ELE_DBNAME="synapse_db"
 | 
			
		||||
 
 | 
			
		||||
@@ -5,6 +5,9 @@
 | 
			
		||||
# (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>
 | 
			
		||||
 | 
			
		||||
# configure system language
 | 
			
		||||
dpkg-reconfigure locales
 | 
			
		||||
 | 
			
		||||
source /root/zamba.conf
 | 
			
		||||
 | 
			
		||||
if [[ $ZMB_DNS_BACKEND == "BIND9_DLZ" ]]; then
 | 
			
		||||
@@ -14,9 +17,6 @@ fi
 | 
			
		||||
# Set Timezone
 | 
			
		||||
ln -sf /usr/share/zoneinfo/$LXC_TIMEZONE /etc/localtime
 | 
			
		||||
 | 
			
		||||
# configure system language
 | 
			
		||||
dpkg-reconfigure locales
 | 
			
		||||
 | 
			
		||||
## configure ntp
 | 
			
		||||
cat << EOF > /etc/ntp.conf
 | 
			
		||||
# 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 rework and documentation by Thorsten Spille <thorsten@spille-edv.de>
 | 
			
		||||
 | 
			
		||||
# configure system language
 | 
			
		||||
dpkg-reconfigure locales
 | 
			
		||||
 | 
			
		||||
source /root/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
 | 
			
		||||
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 
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user