Merge pull request #1184 from Security-Onion-Solutions/fix/automate_ssh

Don't copy SSH key if automated install
This commit is contained in:
weslambert
2020-08-14 14:42:44 -04:00
committed by GitHub

View File

@@ -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