From ccc69b6d55e8b599a4c47d69c3a69af1442348cb Mon Sep 17 00:00:00 2001 From: thorstenspille Date: Fri, 5 Apr 2024 22:26:06 +0200 Subject: [PATCH] Change debian repos to deb.debian.org --- src/lxc-base.sh | 12 ++++++------ src/zmb-ad-join/install-service.sh | 2 +- src/zmb-ad/install-service.sh | 2 +- src/zmb-cups/install-service.sh | 2 +- src/zmb-standalone/install-service.sh | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/lxc-base.sh b/src/lxc-base.sh index 67140f8..006f48d 100644 --- a/src/lxc-base.sh +++ b/src/lxc-base.sh @@ -27,9 +27,9 @@ locale-gen $LXC_LOCALE if [ "$LXC_TEMPLATE_VERSION" == "debian-10-standard" ] ; then cat << EOF > /etc/apt/sources.list -deb http://ftp.halifax.rwth-aachen.de/debian/ buster main contrib +deb http://deb.debian.org/debian/ buster main contrib -deb http://ftp.halifax.rwth-aachen.de/debian/ buster-updates main contrib +deb http://deb.debian.org/debian/ buster-updates main contrib # security updates deb http://security.debian.org/debian-security buster/updates main contrib @@ -38,9 +38,9 @@ EOF elif [ "$LXC_TEMPLATE_VERSION" == "debian-11-standard" ] ; then cat << EOF > /etc/apt/sources.list -deb http://ftp.halifax.rwth-aachen.de/debian/ bullseye main contrib +deb http://deb.debian.org/debian/ bullseye main contrib -deb http://ftp.halifax.rwth-aachen.de/debian/ bullseye-updates main contrib +deb http://deb.debian.org/debian/ bullseye-updates main contrib # security updates deb http://security.debian.org/debian-security bullseye-security main contrib @@ -49,9 +49,9 @@ EOF elif [ "$LXC_TEMPLATE_VERSION" == "debian-12-standard" ] ; then cat << EOF > /etc/apt/sources.list -deb http://ftp.halifax.rwth-aachen.de/debian/ bookworm main contrib +deb http://deb.debian.org/debian/ bookworm main contrib -deb http://ftp.halifax.rwth-aachen.de/debian/ bookworm-updates main contrib +deb http://deb.debian.org/debian/ bookworm-updates main contrib # security updates deb http://security.debian.org/debian-security bookworm-security main contrib diff --git a/src/zmb-ad-join/install-service.sh b/src/zmb-ad-join/install-service.sh index 7cc51e8..2af7e5e 100644 --- a/src/zmb-ad-join/install-service.sh +++ b/src/zmb-ad-join/install-service.sh @@ -27,7 +27,7 @@ for f in ${OPTIONAL_FEATURES[@]}; do fi done -echo "deb http://ftp.halifax.rwth-aachen.de/debian/ bookworm-backports main contrib" >> /etc/apt/sources.list +echo "deb http://deb.debian.org/debian/ bookworm-backports main contrib" >> /etc/apt/sources.list # update packages apt update diff --git a/src/zmb-ad/install-service.sh b/src/zmb-ad/install-service.sh index d9d8fa3..1a2922e 100644 --- a/src/zmb-ad/install-service.sh +++ b/src/zmb-ad/install-service.sh @@ -27,7 +27,7 @@ for f in ${OPTIONAL_FEATURES[@]}; do fi done -echo "deb http://ftp.halifax.rwth-aachen.de/debian/ bookworm-backports main contrib" >> /etc/apt/sources.list +echo "deb http://deb.debian.org/debian/ bookworm-backports main contrib" >> /etc/apt/sources.list # update packages apt update diff --git a/src/zmb-cups/install-service.sh b/src/zmb-cups/install-service.sh index ed53a43..821d37d 100644 --- a/src/zmb-cups/install-service.sh +++ b/src/zmb-cups/install-service.sh @@ -9,7 +9,7 @@ source /root/functions.sh source /root/zamba.conf source /root/constants-service.conf -echo "deb http://ftp.halifax.rwth-aachen.de/debian/ bookworm-backports main contrib" >> /etc/apt/sources.list +echo "deb http://deb.debian.org/debian/ bookworm-backports main contrib" >> /etc/apt/sources.list apt update diff --git a/src/zmb-standalone/install-service.sh b/src/zmb-standalone/install-service.sh index 827aac6..b84f478 100644 --- a/src/zmb-standalone/install-service.sh +++ b/src/zmb-standalone/install-service.sh @@ -12,7 +12,7 @@ source /root/constants-service.conf apt-key adv --fetch-keys https://repo.45drives.com/key/gpg.asc echo "deb https://repo.45drives.com/debian focal main" > /etc/apt/sources.list.d/45drives.list -echo "deb http://ftp.halifax.rwth-aachen.de/debian/ bookworm-backports main contrib" >> /etc/apt/sources.list +echo "deb http://deb.debian.org/debian/ bookworm-backports main contrib" >> /etc/apt/sources.list apt update