From 1e559cbb22356bbb394db90bdb2d7993c61acf11 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Tue, 21 Oct 2025 23:13:46 +0200 Subject: [PATCH] Bumped Debian Version 12 (bookworm)>13 (trixie) - Added automatic `apt modernize-sources` --- CT-Build/Debian.yaml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/CT-Build/Debian.yaml b/CT-Build/Debian.yaml index e73c302..5766eb0 100644 --- a/CT-Build/Debian.yaml +++ b/CT-Build/Debian.yaml @@ -1,6 +1,6 @@ image: distribution: "debian" - release: "bookworm" + release: "trixie" source: downloader: debootstrap @@ -1678,6 +1678,13 @@ actions: systemctl mask systemd-networkd.socket systemctl mask systemd-networkd-wait-online.service + # Disable unwanted mounts + systemctl mask dev-mqueue.mount + systemctl mask run-lock.mount + systemctl mask sys-kernel-config.mount + systemctl mask sys-kernel-debug.mount + systemctl mask tmp.mount + # Make sure the locale is built and functional echo en_US.UTF-8 UTF-8 >> /etc/locale.gen locale-gen en_US.UTF-8 UTF-8 @@ -1741,6 +1748,14 @@ actions: mv /opt/Setup/Scripts/PTKAppUpdate.sh /opt/ProxMoxToolKitAppUpdate.sh fi +#Modernize apt sources +- trigger: post-files + action: |- + #!/bin/sh + apt modernize-sources -y + rm -f /etc/apt/sources.list.bak + rm -f /etc/apt/sources.list.d/*.bak + #Setup jenkins user for node CT - trigger: post-packages action: |-