Set sources.list to http

This commit is contained in:
thorstenspille 2023-01-09 22:52:45 +01:00
parent 187a2c79c5
commit aea5fad54d

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 https://debian.inf.tu-dresden.de/debian bullseye main contrib
deb http://debian.inf.tu-dresden.de/debian bullseye main contrib
deb https://debian.inf.tu-dresden.de/debian bullseye-updates main contrib
deb http://debian.inf.tu-dresden.de/debian bullseye-updates main contrib
# security updates
deb https://debian.inf.tu-dresden.de/debian-security bullseye-security main contrib
deb http://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 https://debian.inf.tu-dresden.de/debian buster main contrib
deb http://debian.inf.tu-dresden.de/debian buster main contrib
deb https://debian.inf.tu-dresden.de/debian buster-updates main contrib
deb http://debian.inf.tu-dresden.de/debian buster-updates main contrib
# security updates
deb https://debian.inf.tu-dresden.de/debian-security buster/updates main contrib
deb http://debian.inf.tu-dresden.de/debian-security buster/updates main contrib
EOF
else echo "LXC Debian Version false. Please check configuration files!" ; exit
fi