mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
remove free hw from description
This commit is contained in:
@@ -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