mirror of
https://github.com/terem42/zfs-hetzner-vm.git
synced 2025-12-22 14:58:32 +00:00
ubuntu20: install zfs from bullseye-backports (on recovery)
Hetzner's current recovery uses debian, Ubuntu PPA packages don't work. This simplifies things.
This commit is contained in:
@@ -461,13 +461,8 @@ done
|
|||||||
|
|
||||||
echo "======= installing zfs on rescue system =========="
|
echo "======= installing zfs on rescue system =========="
|
||||||
echo "zfs-dkms zfs-dkms/note-incompatible-licenses note true" | debconf-set-selections
|
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 update
|
||||||
|
apt install -t bullseye-backports --yes zfs-dkms zfsutils-linux
|
||||||
find /usr/local/sbin/ -type l -exec rm {} +
|
find /usr/local/sbin/ -type l -exec rm {} +
|
||||||
zfs --version
|
zfs --version
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user