mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
managerhype udate mine when switch to br0
This commit is contained in:
@@ -18,6 +18,7 @@ include:
|
||||
- libvirt.64962
|
||||
- libvirt.packages
|
||||
- libvirt.ssh.users
|
||||
- salt.mine_functions
|
||||
|
||||
install_libvirt:
|
||||
pkg.installed:
|
||||
@@ -99,6 +100,8 @@ down_original_mgmt_interface:
|
||||
- unless:
|
||||
- nmcli -f GENERAL.CONNECTION dev show {{ pillar.host.mainint }} | grep bridge-slave-{{ pillar.host.mainint }}
|
||||
- order: last
|
||||
- onchanges_in:
|
||||
- file: mine_functions
|
||||
|
||||
# virtlogd service may not restart following reboot without this
|
||||
#semanage permissive -a virtlogd_t
|
||||
|
||||
@@ -26,3 +26,9 @@ mine_functions:
|
||||
x509.get_pem_entries:
|
||||
- glob_path: '/etc/pki/ca.crt'
|
||||
{% endif -%}
|
||||
|
||||
mine_update_mine_functions:
|
||||
module.run:
|
||||
- mine.update: []
|
||||
- onchanges:
|
||||
- file: mine_functions
|
||||
|
||||
Reference in New Issue
Block a user