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 1
1
#! /bin/bash
2
2
3
3
cat << 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
11
6
EOF
12
7
13
8
apt-get update
14
9
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
-
21
10
# Prevent terminal stupidity and interactive prompts
22
11
export TERM=linux
23
12
export DEBIAN_FRONTEND=noninteractive
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ if [ -x /root/network-systemd.sh ]; then
22
22
fi
23
23
24
24
# Remove build tools
25
- apt-get autoremove
25
+ apt-get --yes autoremove
26
26
27
27
# If not using /hostcache, clean the cache
28
28
[ -d /hostcache ] || apt-get clean
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ if [[ "$0" =~ "ubuntu" ]]; then
11
11
MIRROR=" http://us.archive.ubuntu.com/ubuntu/"
12
12
CONFIGURATOR=" configure-ubuntu.sh"
13
13
else
14
- SUITE=" buster "
14
+ SUITE=" bullseye "
15
15
MIRROR=" http://ftp.us.debian.org/debian/"
16
16
CONFIGURATOR=" configure-debian.sh"
17
17
fi
You can’t perform that action at this time.
0 commit comments