mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
change how mine_functions.conf is managed during setup
This commit is contained in:
@@ -649,8 +649,7 @@ configure_minion() {
|
||||
"log_level_logfile: info"\
|
||||
"log_file: /opt/so/log/salt/minion" >> "$minion_config"
|
||||
|
||||
cp -f ../salt/salt/etc/minion.d/mine_functions.conf.jinja /etc/salt/minion.d/mine_functions.conf
|
||||
sed -i "s/{{ GLOBALS.main_interface }}/$MNIC/" /etc/salt/minion.d/mine_functions.conf
|
||||
logCmd "salt-call state.apply salt.mine_functions -l info"
|
||||
|
||||
{
|
||||
logCmd "systemctl enable salt-minion";
|
||||
|
||||
Reference in New Issue
Block a user