populate mine with network.ip_addrs pillar.host.mainint for each host prior to highstate

This commit is contained in:
m0duspwnens
2022-01-04 10:27:45 -05:00
parent 288389c93e
commit 7bb9b6efa9

View File

@@ -662,6 +662,8 @@ up_to_2.3.90() {
up_to_2.3.100() {
echo "Updating to Security Onion to 2.3.100"
echo "Populating the mine with network.ip_addrs pillar.host.mainint for each host."
salt \* cmd.run cmd='MAININT=$(salt-call pillar.get host:mainint --out=newline_values_only) && salt-call mine.send name=network.ip_addrs interface="$MAININT"'
fix_wazuh
}