From c9d6293f8f75f9a6be6d86056543ee50c67d3f06 Mon Sep 17 00:00:00 2001 From: weslambert Date: Fri, 14 Aug 2020 14:41:35 -0400 Subject: [PATCH] Don't copy SSH key if automated install --- setup/so-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/so-setup b/setup/so-setup index 45b08433f..e99ab399b 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -430,7 +430,7 @@ host_pillar >> $setup_log 2>&1 if [[ $is_minion || $is_import ]]; then set_updates >> $setup_log 2>&1 - copy_ssh_key >> $setup_log 2>&1 + [ "$automated" == no ] && copy_ssh_key >> $setup_log 2>&1 fi # Begin install