Skip to content

Commit

Permalink
ubuntu20: install zfs from bullseye-backports (on recovery)
Browse files Browse the repository at this point in the history
Hetzner's current recovery uses debian, Ubuntu PPA
packages don't work. This simplifies things.
  • Loading branch information
driops committed Mar 20, 2023
1 parent e78d834 commit e632244
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions hetzner-ubuntu20-zfs-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -461,13 +461,8 @@ done

echo "======= installing zfs on rescue system =========="
echo "zfs-dkms zfs-dkms/note-incompatible-licenses note true" | debconf-set-selections
apt-get install --yes software-properties-common
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8CF63AD3F06FC659
add-apt-repository 'deb http://ppa.launchpad.net/jonathonf/zfs/ubuntu focal main'
apt update
apt install --yes zfs-dkms zfsutils-linux
add-apt-repository -r 'deb http://ppa.launchpad.net/jonathonf/zfs/ubuntu focal main'
apt update
apt install -t bullseye-backports --yes zfs-dkms zfsutils-linux
find /usr/local/sbin/ -type l -exec rm {} +
zfs --version

Expand Down

0 comments on commit e632244

Please sign in to comment.