mirror of
https://github.com/bashclub/zamba-lxc-toolbox.git
synced 2024-12-24 11:20:13 +01:00
Add debian bookworm sources
This commit is contained in:
parent
a7bcde4178
commit
a33ad43a50
@ -24,27 +24,39 @@ EOF
|
|||||||
locale-gen $LXC_LOCALE
|
locale-gen $LXC_LOCALE
|
||||||
|
|
||||||
# Generate sources
|
# Generate sources
|
||||||
if [ "$LXC_TEMPLATE_VERSION" == "debian-11-standard" ] ; then
|
if [ "$LXC_TEMPLATE_VERSION" == "debian-10-standard" ] ; then
|
||||||
|
|
||||||
cat << EOF > /etc/apt/sources.list
|
cat << EOF > /etc/apt/sources.list
|
||||||
deb http://debian.inf.tu-dresden.de/debian bullseye main contrib
|
deb http://ftp.halifax.rwth-aachen.de/debian/ buster main contrib
|
||||||
|
|
||||||
deb http://debian.inf.tu-dresden.de/debian bullseye-updates main contrib
|
deb http://ftp.halifax.rwth-aachen.de/debian/ buster-updates main contrib
|
||||||
|
|
||||||
# security updates
|
# security updates
|
||||||
deb http://debian.inf.tu-dresden.de/debian-security bullseye-security main contrib
|
deb http://security.debian.org/debian-security buster/updates main contrib
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
elif [ "$LXC_TEMPLATE_VERSION" == "debian-10-standard" ] ; then
|
elif [ "$LXC_TEMPLATE_VERSION" == "debian-11-standard" ] ; then
|
||||||
|
|
||||||
cat << EOF > /etc/apt/sources.list
|
cat << EOF > /etc/apt/sources.list
|
||||||
deb http://debian.inf.tu-dresden.de/debian buster main contrib
|
deb http://ftp.halifax.rwth-aachen.de/debian/ bullseye main contrib
|
||||||
|
|
||||||
deb http://debian.inf.tu-dresden.de/debian buster-updates main contrib
|
deb http://ftp.halifax.rwth-aachen.de/debian/ bullseye-updates main contrib
|
||||||
|
|
||||||
# security updates
|
# security updates
|
||||||
deb http://debian.inf.tu-dresden.de/debian-security buster/updates main contrib
|
deb http://security.debian.org/debian-security bullseye-security main contrib
|
||||||
EOF
|
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://ftp.halifax.rwth-aachen.de/debian/ bookworm-updates main contrib
|
||||||
|
|
||||||
|
# security updates
|
||||||
|
deb http://security.debian.org/debian-security bookworm-security main contrib
|
||||||
|
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