mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-10-23 22:53:03 +02:00
remove free hw from description
This commit is contained in:
2 files changed
+2
-6
No files matched your search
@@ -2,7 +2,7 @@ hypervisor:
|
||||
hosts:
|
||||
defaultHost:
|
||||
title: defaultHost
|
||||
description: "Available CPU: CPUFREE | Available Memory: MEMFREE | Available Disk: DISKFREE | Available Copper NIC: COPPERFREE | Available SFP NIC: SFPFREE"
|
||||
description: "Hypervisor Configuration"
|
||||
syntax: json
|
||||
uiElements:
|
||||
- field: hostname
|
||||
|
||||
@@ -4,11 +4,7 @@
|
||||
{%- set TEMPLATE = ANNOTATION.hypervisor.hosts.pop('defaultHost') -%}
|
||||
|
||||
{%- macro update_description(description, cpu_free, mem_free, disk_free, copper_free, sfp_free) -%}
|
||||
{{- description | replace('CPUFREE', cpu_free | string)
|
||||
| replace('MEMFREE', mem_free | string)
|
||||
| replace('DISKFREE', disk_free | string)
|
||||
| replace('COPPERFREE', copper_free | string)
|
||||
| replace('SFPFREE', sfp_free | string) -}}
|
||||
{{- description -}}
|
||||
{%- endmacro -%}
|
||||
|
||||
{%- macro update_label(label, total, free) -%}
|
||||
|
||||
Reference in new issue
Block a user