mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-05-27 21:45:28 +02:00
set interface for network.ip_addrs for hypervisors
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@
|
||||
Elastic License 2.0. #}
|
||||
|
||||
{% set role = salt['grains.get']('role', '') %}
|
||||
{% if role in ['so-hypervisor','so-managerhype'] and salt['network.ip_addrs']('br0')|length > 0 %}
|
||||
{% if role in ['so-hypervisor','so-managerhype'] %}
|
||||
{% set interface = 'br0' %}
|
||||
{% else %}
|
||||
{% set interface = pillar.host.mainint %}
|
||||
|
||||
Reference in New Issue
Block a user