Merge pull request #12151 from Security-Onion-Solutions/fix/so-playbook-reset

Fix reinstall & reset stability
This commit is contained in:
Josh Brower
2024-01-10 14:23:53 -05:00
committed by GitHub
4 changed files with 34 additions and 39 deletions

View File

@@ -1648,8 +1648,8 @@ reinstall_init() {
backup_dir /nsm/kratos "$date_string"
backup_dir /nsm/influxdb "$date_string"
# Remove the old launcher package in case the config changes
remove_package launcher-final
# Uninstall local Elastic Agent, if installed
logCmd "elastic-agent uninstall -f"
if [[ $is_deb ]]; then
info "Unholding previously held packages."