From ed441299bcfa80f4b73e84992e8a2f9ed78ad9c8 Mon Sep 17 00:00:00 2001 From: hygienic-books Date: Mon, 6 Nov 2023 00:48:40 +0100 Subject: [PATCH] fix(iso): Asking for an SSH pub key is mandatory with SSH daemon (#21) --- setup.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/setup.sh b/setup.sh index 861da43..c6404b7 100644 --- a/setup.sh +++ b/setup.sh @@ -209,10 +209,8 @@ function setup_env_vars () { echo fi - if [[ "${want_custom_keepalive_intvl}" ]]; then - read -u3 -p 'Please type SSH pub keys on one line separated by double-commas (,,) and confirm with : ' ARCHZBM_SSH_AUTH_KEYS - echo - fi + read -u3 -p 'Please type SSH pub keys on one line separated by double-commas (,,) and confirm with : ' ARCHZBM_SSH_AUTH_KEYS + echo fi for env_var in 'ARCHZBM_ZFSPROPS_NO_COMPRESSION' 'ARCHZBM_ZFSPROPS_NO_ENCRYPTION' 'ARCHZBM_ZPOOL_PASSWORD' 'ARCHZBM_ROOT_PASSWORD' 'ARCHZBM_NET_AUTOCONF' 'ARCHZBM_NET_DEVICE' 'ARCHZBM_NET_CLIENT_IP' 'ARCHZBM_NET_NETMASK' 'ARCHZBM_NET_GATEWAY_IP' 'ARCHZBM_SSH_PORT' 'ARCHZBM_SSH_KEEPALIVE_INTVL' 'ARCHZBM_SSH_AUTH_KEYS'; do