X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=faiserver-setup;h=17dfba3db75bfe8d3799620a3ebf23a4703733ff;hb=4a45eef497075283554ba123ae7cf6edc762b083;hp=2348db02a4c08d26cc2c84c3e95edd44bb0cff72;hpb=15da839e14b07b30de9c3f7559bd17213e4f193d;p=automated-distro-installer diff --git a/faiserver-setup b/faiserver-setup index 2348db0..17dfba3 100755 --- a/faiserver-setup +++ b/faiserver-setup @@ -21,16 +21,18 @@ x="$(readlink -f "$BASH_SOURCE")"; source "${x%/*}/bash-trace" usage() { cat </etc/apt/sources.list.d/fai.list <<'EOF' + case $base in + stretch) + cat >/etc/apt/sources.list.d/fai.list <<'EOF' deb https://fai-project.org/download stretch koeln EOF + ;; + buster) + cat >/etc/apt/sources.list.d/fai.list <<'EOF' +deb https://fai-project.org/download buster koeln +EOF + ;; + esac else rm -f /etc/apt/sources.list.d/fai.list fi @@ -134,7 +144,7 @@ EOF case $base in - jessie|stretch) + jessie|stretch|buster) cat >>/etc/fai/apt/sources.list <