fix(vmware): inherit vCenter folder from hypervisor_cfg.folder when system.path is empty

This commit is contained in:
2026-03-12 02:41:22 +01:00
committed by MORAWSKI Norbert
parent a6300a5467
commit 7227ca1aa0
2 changed files with 13 additions and 1 deletions

View File

@@ -77,7 +77,12 @@
if (system_raw.mirror | default('') | string | trim | length) > 0
else _mirror_defaults[system_raw.os | default('') | string | lower] | default('')
}}
path: "{{ system_raw.path | default('') | string }}"
path: >-
{{
(system_raw.path | default('') | string)
if (system_raw.path | default('') | string | length > 0)
else (hypervisor_cfg.folder | default('') | string)
}}
packages: >-
{{
(