mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-12 12:12:59 +01:00
Fleet standalone fixes - req
This commit is contained in:
@@ -128,6 +128,7 @@ elif [ "$install_type" = 'HEAVYNODE' ]; then
|
|||||||
is_sensor=true
|
is_sensor=true
|
||||||
elif [ "$install_type" = 'FLEET' ]; then
|
elif [ "$install_type" = 'FLEET' ]; then
|
||||||
is_minion=true
|
is_minion=true
|
||||||
|
is_fleet_standalone=true
|
||||||
OSQUERY=1
|
OSQUERY=1
|
||||||
elif [ "$install_type" = 'HELIXSENSOR' ]; then
|
elif [ "$install_type" = 'HELIXSENSOR' ]; then
|
||||||
is_helix=true
|
is_helix=true
|
||||||
@@ -135,12 +136,12 @@ fi
|
|||||||
|
|
||||||
if [[ $is_eval ]]; then
|
if [[ $is_eval ]]; then
|
||||||
check_requirements "eval"
|
check_requirements "eval"
|
||||||
elif [[ "$is_minon" && "$OSQUERY" == 1 ]]; then
|
elif [[ $is_fleet_standalone ]]; then
|
||||||
check_requirements "dist" "fleet"
|
check_requirements "dist" "fleet"
|
||||||
elif [[ $is_distmaster || $is_minion ]]; then
|
|
||||||
check_requirements "dist"
|
|
||||||
elif [[ $is_sensor && ! $is_eval ]]; then
|
elif [[ $is_sensor && ! $is_eval ]]; then
|
||||||
check_requirements "dist" "sensor"
|
check_requirements "dist" "sensor"
|
||||||
|
elif [[ $is_distmaster || $is_minion ]]; then
|
||||||
|
check_requirements "dist"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
whiptail_patch_schedule
|
whiptail_patch_schedule
|
||||||
@@ -236,7 +237,7 @@ if [[ $is_master ]]; then
|
|||||||
get_redirect
|
get_redirect
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $is_distmaster || ( $is_sensor || $is_node || [[ "$is_minon" && "$OSQUERY" == 1 ]] ) && ! $is_eval ]]; then
|
if [[ $is_distmaster || ( $is_sensor || $is_node || $is_fleet_standalone ) && ! $is_eval ]]; then
|
||||||
whiptail_master_updates
|
whiptail_master_updates
|
||||||
if [[ $setup_type == 'network' && $MASTERUPDATES == 1 ]]; then
|
if [[ $setup_type == 'network' && $MASTERUPDATES == 1 ]]; then
|
||||||
whiptail_master_updates_warning
|
whiptail_master_updates_warning
|
||||||
@@ -328,7 +329,7 @@ if [[ $is_minion ]]; then
|
|||||||
copy_ssh_key >> $setup_log 2>&1
|
copy_ssh_key >> $setup_log 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$is_minon" && "$OSQUERY" == 1 ]]; then
|
if [[ $is_fleet_standalone ]]; then
|
||||||
host_pillar >> $setup_log 2>&1
|
host_pillar >> $setup_log 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user