mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-02-12 02:03:30 +01:00
ensure we can grab management ip and display whiptail if we cant
This commit is contained in:
@@ -260,7 +260,7 @@ if ! [[ -f $install_opt_file ]]; then
|
||||
printf '%s\n' \
|
||||
"MNIC=$MNIC" \
|
||||
"HOSTNAME=$HOSTNAME" > "$net_init_file"
|
||||
set_main_ip >> $setup_log 2>&1
|
||||
set_main_ip
|
||||
compare_main_nic_ip
|
||||
|
||||
fi
|
||||
@@ -275,7 +275,7 @@ if ! [[ -f $install_opt_file ]]; then
|
||||
printf '%s\n' \
|
||||
"MNIC=$MNIC" \
|
||||
"HOSTNAME=$HOSTNAME" > "$net_init_file"
|
||||
set_main_ip >> $setup_log 2>&1
|
||||
set_main_ip
|
||||
compare_main_nic_ip
|
||||
whiptail_net_setup_complete
|
||||
else
|
||||
@@ -375,7 +375,7 @@ if ! [[ -f $install_opt_file ]]; then
|
||||
network_init
|
||||
fi
|
||||
|
||||
set_main_ip >> $setup_log 2>&1
|
||||
set_main_ip
|
||||
compare_main_nic_ip
|
||||
|
||||
if [[ $is_minion ]]; then
|
||||
|
||||
Reference in New Issue
Block a user