mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
only manage bond script if bond0 exists
This commit is contained in:
@@ -39,6 +39,8 @@ combine_bond_script:
|
||||
- template: jinja
|
||||
- defaults:
|
||||
CHANNELS: {{ SENSORMERGED.channels }}
|
||||
- onlyif:
|
||||
- ip link show bond0
|
||||
|
||||
execute_combine_bond:
|
||||
cmd.run:
|
||||
|
||||
Reference in New Issue
Block a user