mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 09:42:46 +01:00
[feat] Fail setup early if "ERROR" is found in setup log
This commit is contained in:
@@ -1241,8 +1241,9 @@ salt_checkin() {
|
||||
cat /etc/pki/ca.crt
|
||||
echo " Applyng a mine hack";
|
||||
salt '*' mine.send x509.get_pem_entries glob_path=/etc/pki/ca.crt;
|
||||
echo " Confirming salt mine now contain the certificate"
|
||||
salt \* mine.get \* x509.get_pem_entries
|
||||
salt '*' mine.update;
|
||||
echo " Confirming salt mine now contain the certificate";
|
||||
salt '*' mine.get '*' x509.get_pem_entries;
|
||||
echo " Applying SSL state";
|
||||
salt-call state.apply ssl;
|
||||
} >> "$setup_log" 2>&1
|
||||
|
||||
Reference in New Issue
Block a user