mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
FIX: Setup re-runs when SSH'ing into a successfully installed minion node #10498
This commit is contained in:
@@ -672,7 +672,7 @@ if ! [[ -f $install_opt_file ]]; then
|
|||||||
logCmd "so-soc-restart"
|
logCmd "so-soc-restart"
|
||||||
title "Setting up Elastic Fleet"
|
title "Setting up Elastic Fleet"
|
||||||
logCmd "salt-call state.apply elasticfleet.config"
|
logCmd "salt-call state.apply elasticfleet.config"
|
||||||
logCmd "so-elastic-fleet-setup"
|
logCmd "so-elastic-fleet-setup"
|
||||||
if [[ ! $is_import ]]; then
|
if [[ ! $is_import ]]; then
|
||||||
title "Setting up Playbook"
|
title "Setting up Playbook"
|
||||||
logCmd "so-playbook-reset"
|
logCmd "so-playbook-reset"
|
||||||
@@ -694,6 +694,8 @@ if ! [[ -f $install_opt_file ]]; then
|
|||||||
reserve_ports
|
reserve_ports
|
||||||
# Set the version
|
# Set the version
|
||||||
mark_version
|
mark_version
|
||||||
|
# Disable the setup from prompting at login
|
||||||
|
disable_auto_start
|
||||||
info "Clearing the old manager"
|
info "Clearing the old manager"
|
||||||
# Remove old manager if re-install
|
# Remove old manager if re-install
|
||||||
clear_manager
|
clear_manager
|
||||||
|
|||||||
Reference in New Issue
Block a user