mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-28 07:28:00 +02:00
[fix] Add more logic to network-only process
This commit is contained in:
+11
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user