Skip to content

Commit

Permalink
noauto set rpool name fix (#63)
Browse files Browse the repository at this point in the history
* rpool ref fix

* dropbear update
  • Loading branch information
terem42 committed Oct 10, 2023
1 parent 23ec2c0 commit 3b9724e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion hetzner-debian10-zfs-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion hetzner-debian11-zfs-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion hetzner-debian12-zfs-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion hetzner-ubuntu18-zfs-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion hetzner-ubuntu20-zfs-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion hetzner-ubuntu22-zfs-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3b9724e

Please sign in to comment.