From 3b9724e6af749941b7db7257cc7ea26532343519 Mon Sep 17 00:00:00 2001 From: terem42 <9478806+terem42@users.noreply.github.com> Date: Tue, 10 Oct 2023 17:05:37 +0200 Subject: [PATCH] noauto set rpool name fix (#63) * rpool ref fix * dropbear update --- hetzner-debian10-zfs-setup.sh | 2 +- hetzner-debian11-zfs-setup.sh | 2 +- hetzner-debian12-zfs-setup.sh | 2 +- hetzner-ubuntu18-zfs-setup.sh | 2 +- hetzner-ubuntu20-zfs-setup.sh | 2 +- hetzner-ubuntu22-zfs-setup.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/hetzner-debian10-zfs-setup.sh b/hetzner-debian10-zfs-setup.sh index c553ae8..5715d6b 100644 --- a/hetzner-debian10-zfs-setup.sh +++ b/hetzner-debian10-zfs-setup.sh @@ -845,7 +845,7 @@ chroot_execute "update-grub" echo "======= setting up zed ==========" if [[ $v_zfs_experimental == "1" ]]; then - chroot_execute "zfs set canmount=noauto rpool" + chroot_execute "zfs set canmount=noauto $v_rpool_name" else initial_load_debian_zed_cache fi diff --git a/hetzner-debian11-zfs-setup.sh b/hetzner-debian11-zfs-setup.sh index 2ce2c47..2726a69 100644 --- a/hetzner-debian11-zfs-setup.sh +++ b/hetzner-debian11-zfs-setup.sh @@ -842,7 +842,7 @@ chroot_execute "update-grub" echo "======= setting up zed ==========" if [[ $v_zfs_experimental == "1" ]]; then - chroot_execute "zfs set canmount=noauto rpool" + chroot_execute "zfs set canmount=noauto $v_rpool_name" else initial_load_debian_zed_cache fi diff --git a/hetzner-debian12-zfs-setup.sh b/hetzner-debian12-zfs-setup.sh index 89c17a4..c648c11 100644 --- a/hetzner-debian12-zfs-setup.sh +++ b/hetzner-debian12-zfs-setup.sh @@ -847,7 +847,7 @@ chroot_execute "update-grub" echo "======= setting up zed ==========" if [[ $v_zfs_experimental == "1" ]]; then - chroot_execute "zfs set canmount=noauto rpool" + chroot_execute "zfs set canmount=noauto $v_rpool_name" else initial_load_debian_zed_cache fi diff --git a/hetzner-ubuntu18-zfs-setup.sh b/hetzner-ubuntu18-zfs-setup.sh index 8620ac0..2562910 100644 --- a/hetzner-ubuntu18-zfs-setup.sh +++ b/hetzner-ubuntu18-zfs-setup.sh @@ -819,7 +819,7 @@ chroot_execute "update-grub" echo "======= setting up zed ==========" -chroot_execute "zfs set canmount=noauto rpool" +chroot_execute "zfs set canmount=noauto $v_rpool_name" echo "======= setting mountpoints ==========" chroot_execute "zfs set mountpoint=legacy $v_bpool_name/BOOT/ubuntu" diff --git a/hetzner-ubuntu20-zfs-setup.sh b/hetzner-ubuntu20-zfs-setup.sh index 09f8945..40ada20 100644 --- a/hetzner-ubuntu20-zfs-setup.sh +++ b/hetzner-ubuntu20-zfs-setup.sh @@ -832,7 +832,7 @@ chroot_execute "update-grub" echo "======= setting up zed ==========" -chroot_execute "zfs set canmount=noauto rpool" +chroot_execute "zfs set canmount=noauto $v_rpool_name" echo "======= setting mountpoints ==========" chroot_execute "zfs set mountpoint=legacy $v_bpool_name/BOOT/ubuntu" diff --git a/hetzner-ubuntu22-zfs-setup.sh b/hetzner-ubuntu22-zfs-setup.sh index 6081bfa..6439b3a 100644 --- a/hetzner-ubuntu22-zfs-setup.sh +++ b/hetzner-ubuntu22-zfs-setup.sh @@ -821,7 +821,7 @@ chroot_execute "update-grub" echo "======= setting up zed ==========" -chroot_execute "zfs set canmount=noauto rpool" +chroot_execute "zfs set canmount=noauto $v_rpool_name" echo "======= setting mountpoints ==========" chroot_execute "zfs set mountpoint=legacy $v_bpool_name/BOOT/ubuntu"