From 1403c03acffa66600ee53ce428adfa0fc8b0fa67 Mon Sep 17 00:00:00 2001 From: thorstenspille Date: Fri, 7 Jul 2023 00:32:38 +0200 Subject: [PATCH] Migrate zmb-member to debian bookworm --- src/zmb-member/constants-service.conf | 2 +- src/zmb-member/install-service.sh | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/zmb-member/constants-service.conf b/src/zmb-member/constants-service.conf index 47f6a82..bd524f3 100644 --- a/src/zmb-member/constants-service.conf +++ b/src/zmb-member/constants-service.conf @@ -8,7 +8,7 @@ # This file contains the project constants on service level # Debian Version, which will be installed -LXC_TEMPLATE_VERSION="debian-11-standard" +LXC_TEMPLATE_VERSION="debian-12-standard" # Create sharefs mountpoint LXC_MP="1" diff --git a/src/zmb-member/install-service.sh b/src/zmb-member/install-service.sh index 2932abc..f8c35ef 100644 --- a/src/zmb-member/install-service.sh +++ b/src/zmb-member/install-service.sh @@ -9,14 +9,9 @@ source /root/functions.sh source /root/zamba.conf source /root/constants-service.conf -# add wsdd package repo -apt-key adv --fetch-keys https://pkg.ltec.ch/public/conf/ltec-ag.gpg.key -echo "deb https://pkg.ltec.ch/public/ $(lsb_release -cs) main" > /etc/apt/sources.list.d/wsdd.list -echo "deb http://ftp.de.debian.org/debian $(lsb_release -cs)-backports main contrib" > /etc/apt/sources.list.d/$(lsb_release -cs)-backports.list - apt update -DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt install -y -o DPkg::options::="--force-confdef" -o DPkg::options::="--force-confold" -t $(lsb_release -cs)-backports acl samba winbind libpam-winbind libnss-winbind krb5-user krb5-config samba-dsdb-modules samba-vfs-modules wsdd +DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt install -y -o DPkg::options::="--force-confdef" -o DPkg::options::="--force-confold" acl samba winbind libpam-winbind libnss-winbind krb5-user krb5-config samba-dsdb-modules samba-vfs-modules wsdd mv /etc/krb5.conf /etc/krb5.conf.bak cat > /etc/krb5.conf <