From c12f1388995ed1ce801036d0b4776794697b137d Mon Sep 17 00:00:00 2001 From: Doug Burks Date: Fri, 9 Jun 2023 11:20:54 -0400 Subject: [PATCH] FIX: Setup re-runs when SSH'ing into a successfully installed minion node #10498 --- setup/so-setup | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup/so-setup b/setup/so-setup index e09646020..5f96106a5 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -672,7 +672,7 @@ if ! [[ -f $install_opt_file ]]; then logCmd "so-soc-restart" title "Setting up Elastic Fleet" logCmd "salt-call state.apply elasticfleet.config" - logCmd "so-elastic-fleet-setup" + logCmd "so-elastic-fleet-setup" if [[ ! $is_import ]]; then title "Setting up Playbook" logCmd "so-playbook-reset" @@ -694,6 +694,8 @@ if ! [[ -f $install_opt_file ]]; then reserve_ports # Set the version mark_version + # Disable the setup from prompting at login + disable_auto_start info "Clearing the old manager" # Remove old manager if re-install clear_manager