Update hetzner-ubuntu22-zfs-setup.sh

This commit is contained in:
terem42
2023-09-30 21:05:07 +02:00
committed by GitHub
parent a47d2bd6ce
commit 4c29270339

View File

@@ -460,11 +460,8 @@ for kver in $(find /lib/modules/* -maxdepth 0 -type d | grep -v "$(uname -r)" |
done
echo "======= installing zfs on rescue system =========="
apt-get install --yes software-properties-common
gpg --keyid-format long --keyserver hkp://keyserver.ubuntu.com --recv-keys 0x871920D1991BC93C
gpg --export 871920D1991BC93C > /usr/share/keyrings/ubuntu-archive-keyring.gpg
apt --only-upgrade -t bullseye-backports install debootstrap
echo "zfs-dkms zfs-dkms/note-incompatible-licenses note true" | debconf-set-selections
apt-get install --yes software-properties-common
echo "y" | zfs
zfs --version