Fix reinstall logic

This commit is contained in:
Mike Reeves
2023-01-11 11:05:01 -05:00
parent 355953427c
commit 55911ef649
2 changed files with 19 additions and 6 deletions

View File

@@ -4,7 +4,8 @@
| Version | Supported |
| ------- | ------------------ |
| 2.x.x | :white_check_mark: |
| 2.4.x | :white_check_mark: |
| 2.3.x | :white_check_mark: |
| 16.04.x | :x: |
Security Onion 16.04 has reached End Of Life and is no longer supported.

View File

@@ -318,7 +318,9 @@ if ! [[ -f $install_opt_file ]]; then
check_requirements "manager"
networking_needful
collect_dockernet
whiptail_airgap
if [[ $is_iso ]]; then
whiptail_airgap
fi
detect_cloud
set_minion_info
set_default_log_size >> $setup_log 2>&1
@@ -338,7 +340,9 @@ if ! [[ -f $install_opt_file ]]; then
check_requirements "manager"
networking_needful
collect_dockernet
whiptail_airgap
if [[ $is_iso ]]; then
whiptail_airgap
fi
detect_cloud
set_minion_info
set_default_log_size >> $setup_log 2>&1
@@ -357,7 +361,9 @@ if ! [[ -f $install_opt_file ]]; then
check_requirements "manager"
networking_needful
collect_dockernet
whiptail_airgap
if [[ $is_iso ]]; then
whiptail_airgap
fi
detect_cloud
set_default_log_size >> $setup_log 2>&1
info "Verifying all network devices are managed by Network Manager that should be"
@@ -374,7 +380,9 @@ if ! [[ -f $install_opt_file ]]; then
check_requirements "manager"
networking_needful
collect_dockernet
whiptail_airgap
if [[ $is_iso ]]; then
whiptail_airgap
fi
detect_cloud
set_default_log_size >> $setup_log 2>&1
info "Verifying all network devices are managed by Network Manager that should be"
@@ -436,7 +444,9 @@ if ! [[ -f $install_opt_file ]]; then
check_elastic_license
check_requirements "import"
networking_needful
whiptail_airgap
if [[ $is_iso ]]; then
whiptail_airgap
fi
detect_cloud
set_minion_info
set_default_log_size >> $setup_log 2>&1
@@ -459,6 +469,7 @@ if ! [[ -f $install_opt_file ]]; then
fi
if [[ $waitforstate ]]; then
touch /root/accept_changes
percentage=0
es_heapsize
ls_heapsize
@@ -579,6 +590,7 @@ if ! [[ -f $install_opt_file ]]; then
set_initial_firewall_access
whiptail_setup_complete
else
touch /root/accept_changes
es_heapsize
ls_heapsize
generate_interface_vars