forked from bashclub/zamba-lxc-toolbox
		
	Configure locales and timezone
This commit is contained in:
		
							
								
								
									
										11
									
								
								matrix.sh
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								matrix.sh
									
									
									
									
									
								
							@@ -1,7 +1,18 @@
 | 
			
		||||
#!/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
 | 
			
		||||
 | 
			
		||||
# 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"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user