mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-11-09 22:20:00 +01:00
[refactor][fix] Update reinstall logic
* Only set reinstall flag if new accept_changes file exists * Instead of stopping highstate from running, kill all salt processes and remove their configs * Make end of non-reinstall logs clear in cases where user cancels (and log not rotated)
This commit is contained in:
4 files changed
+22
-24
No files matched your search
@@ -21,6 +21,9 @@ export node_es_port
|
||||
setup_log="/root/sosetup.log"
|
||||
export setup_log
|
||||
|
||||
change_file="/root/accept_changes"
|
||||
export change_file
|
||||
|
||||
filesystem_root=$(df / | awk '$3 ~ /[0-9]+/ { print $2 * 1000 }')
|
||||
export filesystem_root
|
||||
|
||||
|
||||
Reference in new issue
Block a user