mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 09:42:46 +01:00
[fix] Pipe firstcheckin output to /dev/null
This commit is contained in:
@@ -704,8 +704,7 @@ fireeye_pillar() {
|
||||
|
||||
# Run a salt command to generate the minion key
|
||||
salt_firstcheckin() {
|
||||
echo "Next line will show [ERROR], this is expected" >> "$setup_log" 2>&1
|
||||
salt-call state.show_top >> "$setup_log" 2>&1
|
||||
salt-call state.show_top >> /dev/null # send output to /dev/null because we don't actually care about the ouput
|
||||
}
|
||||
|
||||
fleet_pillar() {
|
||||
@@ -1171,12 +1170,6 @@ salt_checkin() {
|
||||
} >> "$setup_log" 2>&1
|
||||
}
|
||||
|
||||
salt_firstcheckin() {
|
||||
#First Checkin
|
||||
salt-call state.highstate >> "$setup_log" 2>&1
|
||||
|
||||
}
|
||||
|
||||
setup_salt_master_dirs() {
|
||||
# Create salt paster directories
|
||||
mkdir -p /opt/so/saltstack/salt
|
||||
|
||||
Reference in New Issue
Block a user