forked from bashclub/zamba-lxc-toolbox
Changed apt repo to tu-dresden
This commit is contained in:
parent
5b01d9b1c7
commit
ec8b7cb2f0
@ -26,23 +26,23 @@ locale-gen $LXC_LOCALE
|
|||||||
if [ "$LXC_TEMPLATE_VERSION" == "debian-11-standard" ] ; then
|
if [ "$LXC_TEMPLATE_VERSION" == "debian-11-standard" ] ; then
|
||||||
|
|
||||||
cat << EOF > /etc/apt/sources.list
|
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
|
# 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
|
EOF
|
||||||
|
|
||||||
elif [ "$LXC_TEMPLATE_VERSION" == "debian-10-standard" ] ; then
|
elif [ "$LXC_TEMPLATE_VERSION" == "debian-10-standard" ] ; then
|
||||||
|
|
||||||
cat << EOF > /etc/apt/sources.list
|
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
|
# 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
|
EOF
|
||||||
else echo "LXC Debian Version false. Please check configuration files!" ; exit
|
else echo "LXC Debian Version false. Please check configuration files!" ; exit
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user