From 5fa4ddd585dc1ff5a5db70a24aea516b3b892ddf Mon Sep 17 00:00:00 2001 From: Thorsten Spille Date: Tue, 13 Apr 2021 19:04:04 +0200 Subject: [PATCH] Changed apt commands to run unattended --- zmb-member.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/zmb-member.sh b/zmb-member.sh index 52b01e3..4469464 100644 --- a/zmb-member.sh +++ b/zmb-member.sh @@ -13,8 +13,9 @@ source /root/zamba.conf # Set Timezone ln -sf /usr/share/zoneinfo/$LXC_TIMEZONE /etc/localtime -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 +apt update +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 cat > /etc/krb5.conf <