Don't copy SSH key if automated install

This commit is contained in:
weslambert
2020-08-14 14:41:35 -04:00
committed by GitHub
parent 04340728ff
commit c9d6293f8f

View File

@@ -430,7 +430,7 @@ host_pillar >> $setup_log 2>&1
if [[ $is_minion || $is_import ]]; then if [[ $is_minion || $is_import ]]; then
set_updates >> $setup_log 2>&1 set_updates >> $setup_log 2>&1
copy_ssh_key >> $setup_log 2>&1 [ "$automated" == no ] && copy_ssh_key >> $setup_log 2>&1
fi fi
# Begin install # Begin install