[feat] Init network + soremote key early

This commit is contained in:
William Wernert
2020-12-08 14:03:21 -05:00
parent 65d994a2f8
commit 4210d25fae
2 changed files with 41 additions and 23 deletions

View File

@@ -765,6 +765,22 @@ whiptail_management_nic() {
}
whiptail_management_interface_setup() {
[ -n "$TESTING" ] && return
local minion_msg
if [[ $is_minion || $is_import ]]; then
minion_msg=" and copy the ssh key for soremote to the manager"
else
minion_msg=""
fi
whiptail --title "Security Onion Setup" --yesno "Setup will now initialize networking$minion_msg. Select YES to continue or NO to cancel." 8 75
local exitstatus=$?
whiptail_check_exitstatus $exitstatus
}
whiptail_nids() {
[ -n "$TESTING" ] && return