File tree Expand file tree Collapse file tree 3 files changed +4
-15
lines changed
Expand file tree Collapse file tree 3 files changed +4
-15
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
33cat << EOF > /etc/apt/sources.list
4- deb http://deb.debian.org/debian buster main contrib
5- deb-src http://deb.debian.org/debian buster main contrib
6- EOF
7-
8- cat << EOF > /etc/apt/sources.list.d/buster-backports.list
9- deb http://deb.debian.org/debian buster-backports main contrib
10- deb-src http://deb.debian.org/debian buster-backports main contrib
4+ deb http://deb.debian.org/debian bullseye main contrib
5+ deb-src http://deb.debian.org/debian bullseye main contrib
116EOF
127
138apt-get update
149
15- cat << EOF > /etc/apt/preferences.d/90_zfs
16- Package: libnvpair1linux libuutil1linux libzfs2linux libzfslinux-dev libzpool2linux python3-pyzfs pyzfs-doc spl spl-dkms zfs-dkms zfs-dracut zfs-initramfs zfs-test zfsutils-linux zfsutils-linux-dev zfs-zed
17- Pin: release n=buster-backports
18- Pin-Priority: 990
19- EOF
20-
2110# Prevent terminal stupidity and interactive prompts
2211export TERM=linux
2312export DEBIAN_FRONTEND=noninteractive
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ if [ -x /root/network-systemd.sh ]; then
2222fi
2323
2424# Remove build tools
25- apt-get autoremove
25+ apt-get --yes autoremove
2626
2727# If not using /hostcache, clean the cache
2828[ -d /hostcache ] || apt-get clean
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ if [[ "$0" =~ "ubuntu" ]]; then
1111 MIRROR=" http://us.archive.ubuntu.com/ubuntu/"
1212 CONFIGURATOR=" configure-ubuntu.sh"
1313else
14- SUITE=" buster "
14+ SUITE=" bullseye "
1515 MIRROR=" http://ftp.us.debian.org/debian/"
1616 CONFIGURATOR=" configure-debian.sh"
1717fi
You can’t perform that action at this time.
0 commit comments