[fix] Add more logic to network-only process

This commit is contained in:
William Wernert
2021-01-04 09:27:22 -05:00
parent 3f3fe78322
commit 0fa001ed92
3 changed files with 40 additions and 23 deletions
+11 -1
View File
@@ -771,7 +771,11 @@ whiptail_management_interface_setup() {
if [[ $is_iso ]]; then
if [[ $minion_msg != "" ]]; then
msg="initialize networking and $minion_msg"
if [[ -f $net_init_file ]]; then
msg=$minion_msg
else
msg="initialize networking and $minion_msg"
fi
else
msg="initialize networking"
fi
@@ -978,6 +982,12 @@ whiptail_network_notice() {
}
whiptail_net_reinit() {
[ -n "$TESTING" ] && return
whiptail --title "Security Onion Setup" --yesno "The management interface has already been configured. Do you want to reconfigure it?" 8 75
}
whiptail_node_advanced() {
[ -n "$TESTING" ] && return