mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Fleet standalone bugfixes
This commit is contained in:
@@ -283,6 +283,13 @@ if [[ $is_node && ! $is_eval ]]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$install_type" = 'FLEET' ]; then
|
||||||
|
collect_fleetuser_inputs
|
||||||
|
else
|
||||||
|
FLEETNODEUSER=$WEBUSER
|
||||||
|
FLEETNODEPASSWD1=$WEBPASSWD1
|
||||||
|
fi
|
||||||
|
|
||||||
whiptail_make_changes
|
whiptail_make_changes
|
||||||
|
|
||||||
if [[ -n "$TURBO" ]]; then
|
if [[ -n "$TURBO" ]]; then
|
||||||
@@ -482,14 +489,8 @@ fi
|
|||||||
set_progress_str 73 "$(print_salt_state_apply 'redis')"
|
set_progress_str 73 "$(print_salt_state_apply 'redis')"
|
||||||
salt-call state.apply -l info redis >> $setup_log 2>&1
|
salt-call state.apply -l info redis >> $setup_log 2>&1
|
||||||
|
|
||||||
if [ "$install_type" = 'FLEET' ]; then
|
|
||||||
collect_fleetuser_inputs
|
|
||||||
set_progress_str 74 "$(print_salt_state_apply 'so-fleet-setup')"
|
set_progress_str 74 "$(print_salt_state_apply 'so-fleet-setup')"
|
||||||
so-fleet-setup $FLEETNODEUSER $FLEETNODEPASSWD1 >> $setup_log 2>&1
|
so-fleet-setup $FLEETNODEUSER $FLEETNODEPASSWD1 >> $setup_log 2>&1
|
||||||
else
|
|
||||||
set_progress_str 74 "$(print_salt_state_apply 'so-fleet-setup')"
|
|
||||||
so-fleet-setup $WEBUSER $WEBPASSWD1 >> $setup_log 2>&1
|
|
||||||
fi
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user