mirror of
				https://github.com/bashclub/zamba-lxc-toolbox.git
				synced 2025-11-04 08:02:28 +01:00 
			
		
		
		
	Changed apt commands to run unattended
This commit is contained in:
		@@ -13,8 +13,9 @@ 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
 | 
				
			||||||
 | 
					
 | 
				
			||||||
apt update && apt full-upgrade -y
 | 
					apt update
 | 
				
			||||||
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 
 | 
					DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt -y -qq dist-upgrade
 | 
				
			||||||
 | 
					DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt install -y -o DPkg::options::="--force-confdef" -o DPkg::options::="--force-confold" $LXC_TOOLSET acl samba winbind libpam-winbind libnss-winbind krb5-user krb5-config samba-dsdb-modules samba-vfs-modules 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
mv /etc/krb5.conf /etc/krb5.conf.bak
 | 
					mv /etc/krb5.conf /etc/krb5.conf.bak
 | 
				
			||||||
cat > /etc/krb5.conf <<EOF
 | 
					cat > /etc/krb5.conf <<EOF
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user