mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
managerhype udate mine when switch to br0
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user