X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=faiserver-setup;h=17dfba3db75bfe8d3799620a3ebf23a4703733ff;hp=cf0da93e24d49b00eadba6e267ee7b1cce4c6d18;hb=0b8eb4a3e41e6fd69f5da44f733b887eb5ed9f33;hpb=f26c5d66d11fc97c3c6a17a3647dad5d1922fe5a diff --git a/faiserver-setup b/faiserver-setup index cf0da93..17dfba3 100755 --- a/faiserver-setup +++ b/faiserver-setup @@ -21,18 +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 @@ -136,7 +144,7 @@ EOF case $base in - jessie|stretch) + jessie|stretch|buster) cat >>/etc/fai/apt/sources.list <