From 02a4ad2e1880e0dc95b421b9e6afed33d9f500b5 Mon Sep 17 00:00:00 2001 From: Akshay Mankar Date: Fri, 13 Oct 2023 17:00:03 +0200 Subject: [PATCH] hetzner-dedicated/zfs: Install zfs from source --- .../hetzner-dedicated/zfs-uefi-nvme-nixos.sh | 28 +++++++++++-------- 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/hosters/hetzner-dedicated/zfs-uefi-nvme-nixos.sh b/hosters/hetzner-dedicated/zfs-uefi-nvme-nixos.sh index 07d474e..6ef83a1 100644 --- a/hosters/hetzner-dedicated/zfs-uefi-nvme-nixos.sh +++ b/hosters/hetzner-dedicated/zfs-uefi-nvme-nixos.sh @@ -26,20 +26,27 @@ # * exports of env vars are added throughout the script in case you want to run it manually export LC_ALL=C -# WARNING: on 2023/07/16 the rescue system of hetzner boots with kernel 6.3.7 which +set -euox pipefail + +# ORIGINAL WARNING: on 2023/07/16 the rescue system of hetzner boots with kernel 6.3.7 which # is by default not supported by the latest debian package. You need to update to debian # unstable to proceed with the zfs installation. -cat > /etc/apt/preferences.d/90_zfs <