mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Move interface message to later in setup
This commit is contained in:
@@ -296,13 +296,6 @@ if ! [[ -f $install_opt_file ]]; then
|
|||||||
source "$net_init_file"
|
source "$net_init_file"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $is_minion ]]; then
|
|
||||||
collect_mngr_hostname
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ $is_minion ]] || [[ $reinit_networking ]] || [[ $is_iso ]] && ! [[ -f $net_init_file ]]; then
|
|
||||||
whiptail_management_interface_setup
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ $reinit_networking ]] || ! [[ -f $net_init_file ]]; then
|
if [[ $reinit_networking ]] || ! [[ -f $net_init_file ]]; then
|
||||||
network_init
|
network_init
|
||||||
@@ -311,7 +304,9 @@ if ! [[ -f $install_opt_file ]]; then
|
|||||||
set_main_ip >> $setup_log 2>&1
|
set_main_ip >> $setup_log 2>&1
|
||||||
compare_main_nic_ip
|
compare_main_nic_ip
|
||||||
|
|
||||||
|
if [[ $is_minion ]]; then
|
||||||
|
collect_mngr_hostname
|
||||||
|
fi
|
||||||
|
|
||||||
reset_proxy >> $setup_log 2>&1
|
reset_proxy >> $setup_log 2>&1
|
||||||
if [[ -z $is_airgap ]]; then
|
if [[ -z $is_airgap ]]; then
|
||||||
@@ -319,6 +314,10 @@ if ! [[ -f $install_opt_file ]]; then
|
|||||||
[[ -n "$so_proxy" ]] && set_proxy >> $setup_log 2>&1
|
[[ -n "$so_proxy" ]] && set_proxy >> $setup_log 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ $is_minion ]] || [[ $reinit_networking ]] || [[ $is_iso ]] && ! [[ -f $net_init_file ]]; then
|
||||||
|
whiptail_management_interface_setup
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ $is_minion ]]; then
|
if [[ $is_minion ]]; then
|
||||||
add_mngr_ip_to_hosts
|
add_mngr_ip_to_hosts
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user