mirror of
https://github.com/terem42/zfs-hetzner-vm.git
synced 2025-12-23 15:28:33 +00:00
updated script for debian 11
This commit is contained in:
@@ -497,7 +497,7 @@ echo "======= installing zfs on rescue system =========="
|
|||||||
add-apt-repository 'deb https://terem42.github.io/zfs-debian/public zfs-debian-experimental main'
|
add-apt-repository 'deb https://terem42.github.io/zfs-debian/public zfs-debian-experimental main'
|
||||||
apt update
|
apt update
|
||||||
apt install --yes libelf-dev
|
apt install --yes libelf-dev
|
||||||
apt install -t zfs-debian-experimental --yes zfs-dkms
|
apt install -t zfs-debian-experimental --yes zfs-dkms zfsutils-linux
|
||||||
else
|
else
|
||||||
cd "$(mktemp -d)"
|
cd "$(mktemp -d)"
|
||||||
wget "$(curl -Ls https://api.github.com/repos/openzfs/zfs/releases/latest| grep "browser_download_url.*tar.gz"|grep -E "tar.gz\"$"| cut -d '"' -f 4)"
|
wget "$(curl -Ls https://api.github.com/repos/openzfs/zfs/releases/latest| grep "browser_download_url.*tar.gz"|grep -E "tar.gz\"$"| cut -d '"' -f 4)"
|
||||||
|
|||||||
Reference in New Issue
Block a user