Fix duplicate recipe filenames by adding hardware-support, guest-agents, and hypervisor-type suffixes

Previously, list modifiers like hardware-support, guest-agents, and hypervisor-type created multiple variants but overwrote the same filenames. Now:

1. Add '_hw' suffix when hardware-support is enabled
2. Add '_ga' suffix when guest-agents is enabled
3. Add CPU type (amdcpu, intelcpu) suffix for hypervisor variants
4. Normalize modifier names from hypervisor-type to hypervisor_type

This ensures all 144 recipes have unique filenames.
This commit is contained in:
Lukas Greve
2026-03-26 10:34:35 +01:00
parent cd203b8799
commit c193914435
137 changed files with 2748 additions and 50 deletions
+6 -6
View File
@@ -5,7 +5,7 @@
# Supported syntax:
# - Single values: version: "43"
# - List values: version: ["43", "rawhide"] (expands to multiple variants)
# - List modifiers: hypervisor-type: ["amdcpu", "intelcpu"] (expands to separate variants)
# - List modifiers: hypervisor_type: ["amdcpu", "intelcpu"] (expands to separate variants)
recipes:
# Install variants - desktop
@@ -25,8 +25,8 @@ recipes:
- name: install
variants:
- name: server
version: ["43", "rawhide"]
storage: ["standard", "encrypted"]
version: 43
storage: standard
bootloader: grub
hardware-support: [true, false]
guest-agents: [true, false]
@@ -43,21 +43,21 @@ recipes:
hardware-support: [true, false]
guest-agents: [true, false]
hypervisor: base
hypervisor-type: ["amdcpu", "intelcpu"]
hypervisor_type: ["amdcpu", "intelcpu"]
initial-setup: server
security: [secure, 'off']
# Install variants - desktop-hypervisor
- name: install
variants:
- name: desktop-hypervisor
- name: hypervisor-desktop
version: ["43", "rawhide"]
desktop: gnome
storage: ["standard", "encrypted"]
bootloader: grub
hardware-support: [true, false]
hypervisor: desktop
hypervisor-type: ["amdcpu", "intelcpu"]
hypervisor_type: ["amdcpu", "intelcpu"]
initial-setup: server
security: [secure, 'off']