From d6eeb0b735aae8ef6c642e107893e038d65d2b34 Mon Sep 17 00:00:00 2001 From: William Wernert Date: Thu, 28 Oct 2021 10:04:03 -0400 Subject: [PATCH] Gen ssh key sooner --- setup/so-setup | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/setup/so-setup b/setup/so-setup index 58059567c..e9d510270 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -304,6 +304,11 @@ if ! [[ -f $install_opt_file ]]; then add_mngr_ip_to_hosts fi + if [[ $is_minion ]]; then + whiptail_ssh_key_copy_notice + copy_ssh_key >> $setup_log 2>&1 + fi + if [[ $is_minion ]] && ! (compare_versions); then info "Installer version mismatch, downloading correct version from manager" printf '%s\n' \ @@ -337,11 +342,6 @@ if [[ -z $is_airgap ]]; then [[ -n "$so_proxy" ]] && set_proxy >> $setup_log 2>&1 fi -if [[ $is_minion ]]; then - whiptail_ssh_key_copy_notice - copy_ssh_key >> $setup_log 2>&1 -fi - percentage=0 { installer_progress_loop & # Run progress bar to 98 in ~8 minutes while waiting for package installs