X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai%2Fconfig%2Fclass%2FDEBIAN.var;h=a00d0f86720bdea4cef033144ea7965a1319b236;hb=591c84435e22df12f2b5121c08578bff7c6bb047;hp=3823152c8a9901cc267790c8ef02c48873b90edb;hpb=e6c8a36522847eca91819ab3eb656dd824bc3e3c;p=automated-distro-installer diff --git a/fai/config/class/DEBIAN.var b/fai/config/class/DEBIAN.var index 3823152..a00d0f8 100644 --- a/fai/config/class/DEBIAN.var +++ b/fai/config/class/DEBIAN.var @@ -1,4 +1,15 @@ -#### from upstream example config, except where noted +# 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 @@ -14,7 +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 - -apt_cdn=http://deb.debian.org +# APTPROXY=http://faiserver:3142