From 9d498be7b3c5937cc4ee8450fe8a0b139c3152f4 Mon Sep 17 00:00:00 2001 From: Prokopenko Andrey Date: Wed, 15 Sep 2021 17:18:16 +0200 Subject: [PATCH] updated default choices for encrypted fs and experimental modules usage --- hetzner-debian10-zfs-setup.sh | 4 ++-- hetzner-ubuntu18-zfs-setup.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hetzner-debian10-zfs-setup.sh b/hetzner-debian10-zfs-setup.sh index 2e3f60a..746cd35 100644 --- a/hetzner-debian10-zfs-setup.sh +++ b/hetzner-debian10-zfs-setup.sh @@ -348,7 +348,7 @@ function ask_root_password { function ask_encryption { print_step_info_header - if dialog --yesno 'Do you want to encrypt the root pool?' 30 100; then + if dialog --defaultno --yesno 'Do you want to encrypt the root pool?' 30 100; then v_encrypt_rpool=1 fi set +x @@ -368,7 +368,7 @@ function ask_encryption { function ask_zfs_experimental { print_step_info_header - if dialog --yesno 'Do you want to use experimental zfs module build?' 30 100; then + if dialog --defaultno --yesno 'Do you want to use experimental zfs module build?' 30 100; then v_zfs_experimental=1 fi } diff --git a/hetzner-ubuntu18-zfs-setup.sh b/hetzner-ubuntu18-zfs-setup.sh index a725f16..bc860da 100644 --- a/hetzner-ubuntu18-zfs-setup.sh +++ b/hetzner-ubuntu18-zfs-setup.sh @@ -313,7 +313,7 @@ function ask_root_password { function ask_encryption { print_step_info_header - if dialog --yesno 'Do you want to encrypt the root pool?' 30 100; then + if dialog --defaultno --yesno 'Do you want to encrypt the root pool?' 30 100; then v_encrypt_rpool=1 fi set +x @@ -333,7 +333,7 @@ function ask_encryption { function ask_zfs_experimental { print_step_info_header - if dialog --yesno 'Do you want to use experimental zfs module build?' 30 100; then + if dialog --defaultno --yesno 'Do you want to use experimental zfs module build?' 30 100; then v_zfs_experimental=1 fi }