mirror of
				https://github.com/bashclub/zamba-lxc-toolbox.git
				synced 2025-11-04 08:02:28 +01:00 
			
		
		
		
	Configure locales and timezone
This commit is contained in:
		
							
								
								
									
										11
									
								
								mailpiler.sh
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								mailpiler.sh
									
									
									
									
									
								
							@@ -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
 | 
				
			||||||
 | 
					
 | 
				
			||||||
HOSTNAME=$(hostname -f)
 | 
					HOSTNAME=$(hostname -f)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo "Ensure your Hostname is set to your Piler FQDN!"
 | 
					echo "Ensure your Hostname is set to your Piler FQDN!"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user