mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Set manager early for proxy config
This commit is contained in:
@@ -307,20 +307,17 @@ 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
|
||||||
|
add_mngr_ip_to_hosts
|
||||||
|
fi
|
||||||
|
|
||||||
reset_proxy
|
reset_proxy
|
||||||
if [[ -z $is_airgap ]]; then
|
if [[ -z $is_airgap ]]; then
|
||||||
collect_net_method
|
collect_net_method
|
||||||
[[ -n "$so_proxy" ]] && set_proxy >> $setup_log 2>&1
|
[[ -n "$so_proxy" ]] && set_proxy >> $setup_log 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $is_minion ]]; then
|
|
||||||
collect_mngr_hostname
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ $is_minion ]]; then
|
|
||||||
add_mngr_ip_to_hosts
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ $is_minion ]]; then
|
if [[ $is_minion ]]; then
|
||||||
whiptail_ssh_key_copy_notice
|
whiptail_ssh_key_copy_notice
|
||||||
copy_ssh_key >> $setup_log 2>&1
|
copy_ssh_key >> $setup_log 2>&1
|
||||||
|
|||||||
Reference in New Issue
Block a user