managerhype udate mine when switch to br0

This commit is contained in:
Josh Patterson
2025-03-31 16:03:19 -04:00
parent 64f71143dc
commit e7aa4428de
2 changed files with 9 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ include:
- libvirt.64962 - libvirt.64962
- libvirt.packages - libvirt.packages
- libvirt.ssh.users - libvirt.ssh.users
- salt.mine_functions
install_libvirt: install_libvirt:
pkg.installed: pkg.installed:
@@ -99,6 +100,8 @@ down_original_mgmt_interface:
- unless: - unless:
- nmcli -f GENERAL.CONNECTION dev show {{ pillar.host.mainint }} | grep bridge-slave-{{ pillar.host.mainint }} - nmcli -f GENERAL.CONNECTION dev show {{ pillar.host.mainint }} | grep bridge-slave-{{ pillar.host.mainint }}
- order: last - order: last
- onchanges_in:
- file: mine_functions
# virtlogd service may not restart following reboot without this # virtlogd service may not restart following reboot without this
#semanage permissive -a virtlogd_t #semanage permissive -a virtlogd_t

View File

@@ -26,3 +26,9 @@ mine_functions:
x509.get_pem_entries: x509.get_pem_entries:
- glob_path: '/etc/pki/ca.crt' - glob_path: '/etc/pki/ca.crt'
{% endif -%} {% endif -%}
mine_update_mine_functions:
module.run:
- mine.update: []
- onchanges:
- file: mine_functions