mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-26 06:27:50 +02:00
ensure local hypervisor dir when new hypervisor key accepted. apply soc.dyanno.hypervisor when hypervisor key accepted
This commit is contained in:
@@ -22,6 +22,7 @@ hypervisor_annotation:
|
||||
- group: socore
|
||||
- defaults:
|
||||
HYPERVISORS: {{ HYPERVISORS }}
|
||||
base_domain_ready: {{ salt['pillar.get']('base_domain_ready', False) }}
|
||||
|
||||
{% for role in HYPERVISORS %}
|
||||
{% for hypervisor in HYPERVISORS[role].keys() %}
|
||||
|
||||
@@ -174,7 +174,11 @@ No Virtual Machines Found
|
||||
{%- endif -%}
|
||||
{%- do updated_elements.append(updated_field) -%}
|
||||
{%- endfor -%}
|
||||
{%- do updated_template.update({'uiElements': updated_elements}) -%}
|
||||
{%- if base_domain_ready -%}
|
||||
{%- do updated_template.update({'uiElements': updated_elements}) -%}
|
||||
{%- else -%}
|
||||
{%- do updated_template.pop('uiElements') -%}
|
||||
{%- endif -%}
|
||||
{%- do updated_template.update({
|
||||
'title': hypervisor,
|
||||
'description': update_description(
|
||||
|
||||
Reference in New Issue
Block a user