mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 02:02:50 +01:00
always manage script, only run it if bond0 exists
This commit is contained in:
@@ -39,11 +39,9 @@ combine_bond_script:
|
||||
- template: jinja
|
||||
- defaults:
|
||||
CHANNELS: {{ SENSORMERGED.channels }}
|
||||
- onlyif:
|
||||
- ip link show bond0
|
||||
|
||||
execute_combine_bond:
|
||||
cmd.run:
|
||||
- name: /usr/sbin/so-combine-bond
|
||||
- onchanges:
|
||||
- file: combine_bond_script
|
||||
- onlyif:
|
||||
- ip link show bond0
|
||||
|
||||
Reference in New Issue
Block a user