From 9db0b07292b3f137ebd7d4ee224dc16e85fcea2f Mon Sep 17 00:00:00 2001 From: Thorsten Spille Date: Mon, 12 Apr 2021 11:37:00 +0000 Subject: [PATCH] Added dpkg parameters to use old configs --- zmb-ad.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zmb-ad.sh b/zmb-ad.sh index 7880504..09c3a3b 100644 --- a/zmb-ad.sh +++ b/zmb-ad.sh @@ -47,7 +47,7 @@ EOF apt update DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt -y -qq dist-upgrade # install required packages -DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt install -y $LXC_TOOLSET acl attr ntpdate nginx-full rpl net-tools dnsutils ntp bind9 samba smbclient winbind libpam-winbind libnss-winbind krb5-user samba-dsdb-modules samba-vfs-modules lmdb-utils +DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt install -y -o DPkg::options::="--force-confdef" -o DPkg::options::="--force-confold" $LXC_TOOLSET acl attr ntpdate nginx-full rpl net-tools dnsutils ntp bind9 samba smbclient winbind libpam-winbind libnss-winbind krb5-user samba-dsdb-modules samba-vfs-modules lmdb-utils # stop + disable samba services and remove default config systemctl stop smbd nmbd winbind