mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-09 02:32:46 +01:00
[fix] Don't show irrelevant prompts during airgap setup
This commit is contained in:
@@ -379,6 +379,10 @@ if [[ $is_import ]]; then
|
|||||||
PLAYBOOK=0
|
PLAYBOOK=0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ $is_airgap ]]; then
|
||||||
|
PATCHSCHEDULENAME=manual
|
||||||
|
fi
|
||||||
|
|
||||||
# Start user prompts
|
# Start user prompts
|
||||||
|
|
||||||
if [[ $is_helix ]]; then
|
if [[ $is_helix ]]; then
|
||||||
@@ -393,7 +397,7 @@ if [[ $is_helix || $is_sensor || $is_import ]]; then
|
|||||||
calculate_useable_cores
|
calculate_useable_cores
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! $is_import ]]; then
|
if [[ ! $is_airgap && ! $is_import ]]; then
|
||||||
collect_patch_schedule
|
collect_patch_schedule
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -446,7 +450,7 @@ if [[ $is_manager || $is_import ]]; then
|
|||||||
get_redirect
|
get_redirect
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $is_distmanager || ( $is_sensor || $is_node || $is_fleet_standalone ) && ! $is_eval ]]; then
|
if [[ ! $is_airgap && $is_distmanager || ( $is_sensor || $is_node || $is_fleet_standalone ) && ! $is_eval ]]; then
|
||||||
whiptail_manager_updates
|
whiptail_manager_updates
|
||||||
if [[ $setup_type == 'network' && $MANAGERUPDATES == 1 ]]; then
|
if [[ $setup_type == 'network' && $MANAGERUPDATES == 1 ]]; then
|
||||||
whiptail_manager_updates_warning
|
whiptail_manager_updates_warning
|
||||||
|
|||||||
Reference in New Issue
Block a user