Update so-functions

change MAININT to MNIC
This commit is contained in:
Josh Patterson
2023-01-10 16:57:17 -05:00
committed by GitHub
parent 0151830c85
commit 64af393f40

View File

@@ -614,7 +614,7 @@ configure_minion() {
"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 }}/$MAININT/" /etc/salt/minion.d/mine_functions.conf
sed -i "s/{{ GLOBALS.main_interface }}/$MNIC/" /etc/salt/minion.d/mine_functions.conf
{
systemctl restart salt-minion;