Merge branch 'upstream'
[automated-distro-installer] / fai / config / class / DEBIAN.var
index f343669f34cc99085a552c65e806e7e9fd78a683..a00d0f86720bdea4cef033144ea7965a1319b236 100644 (file)
@@ -1,6 +1,14 @@
-release=buster
-apt_cdn=http://deb.debian.org
-security_cdn=http://security.debian.org
+# ian, commented, sources are set with fcopy
+# release=bullseye
+# apt_cdn=http://deb.debian.org
+# security_cdn=http://security.debian.org
+
+# since bullseye Debian changed the suite name for security
+if [ $release = buster ]; then
+  secsuite=buster/updates
+else
+  secsuite=$release-security
+fi
 
 CONSOLEFONT=
 KEYMAP=us-latin1
@@ -17,5 +25,4 @@ MODULESLIST="usbhid psmouse"
 FAI_RAMDISKS="$target/var/lib/dpkg $target/var/cache"
 
 # if you want to use the faiserver as APT proxy
-# ian: uncommented
-APTPROXY=http://faiserver:3142
+# APTPROXY=http://faiserver:3142