fix(iso): Asking for an SSH pub key is mandatory with SSH daemon (#21)
This commit is contained in:
parent
37cafc1f20
commit
ed441299bc
2
setup.sh
2
setup.sh
@ -209,11 +209,9 @@ 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 <Enter>: ' ARCHZBM_SSH_AUTH_KEYS
|
||||
echo
|
||||
fi
|
||||
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
|
||||
if [[ "${!env_var}" ]]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user