Changed apt repo to tu-dresden

This commit is contained in:
thorstenspille 2022-05-23 22:20:34 +02:00
parent 5b01d9b1c7
commit ec8b7cb2f0

View File

@ -26,23 +26,23 @@ locale-gen $LXC_LOCALE
if [ "$LXC_TEMPLATE_VERSION" == "debian-11-standard" ] ; then
cat << EOF > /etc/apt/sources.list
deb http://ftp.de.debian.org/debian bullseye main contrib
deb https://debian.inf.tu-dresden.de/debian bullseye main contrib
deb http://ftp.de.debian.org/debian bullseye-updates main contrib
deb https://debian.inf.tu-dresden.de/debian bullseye-updates main contrib
# security updates
deb http://ftp.de.debian.org/debian-security bullseye-security main contrib
deb https://debian.inf.tu-dresden.de/debian-security bullseye-security main contrib
EOF
elif [ "$LXC_TEMPLATE_VERSION" == "debian-10-standard" ] ; then
cat << EOF > /etc/apt/sources.list
deb http://ftp.de.debian.org/debian buster main contrib
deb https://debian.inf.tu-dresden.de/debian buster main contrib
deb http://ftp.de.debian.org/debian buster-updates main contrib
deb https://debian.inf.tu-dresden.de/debian buster-updates main contrib
# security updates
deb http://ftp.de.debian.org/debian-security buster/updates main contrib
deb https://debian.inf.tu-dresden.de/debian-security buster/updates main contrib
EOF
else echo "LXC Debian Version false. Please check configuration files!" ; exit
fi