mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 01:32:47 +01:00
Setup Script - Restart salt Minion after nuking key
This commit is contained in:
@@ -166,7 +166,7 @@ enable_masternode_influxdb_8086_{{ip}}:
|
||||
- position: 1
|
||||
- save: True
|
||||
|
||||
enable_masternode_mysql_3036_{{ip}}:
|
||||
enable_masternode_mysql_3306_{{ip}}:
|
||||
iptables.insert:
|
||||
- table: filter
|
||||
- chain: DOCKER-USER
|
||||
|
||||
@@ -156,6 +156,7 @@ clear_master() {
|
||||
# This only happens if you re-install the master.
|
||||
if [ -f /etc/salt/pki/minion/minion_master.pub]; then
|
||||
rm /etc/salt/pki/minion/minion_master.pub
|
||||
service salt-minion restart
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user