fix: Add _bare-metal suffix for False boolean modifiers to prevent filename collisions
The manifest uses hyphenated keys (guest-agents, hardware-support) but the filename generation was looking for underscored keys, causing 16 variants to overwrite 4 files. Added _get_modifier() helper to normalize both key formats and added _bare-metal suffix for False values of guest_agents, ensuring unique filenames for all variant combinations. This restores the intended 24 distinct variants from the manifest and adds support for all modifiers (bootloader, initial-setup, desktop, security, storage, guest_agents, hardware_support).
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
# Example: version: ["43", "rawhide"] + storage: ["standard", "encrypted"]
|
||||
# creates 4 variants: (43,standard), (43,encrypted), (rawhide,standard), (rawhide,encrypted)
|
||||
#
|
||||
# NOTE: Boolean modifiers (guest-agents, hardware-support) only affect filename when True.
|
||||
# Multiple variants with False values will produce the same filename (last one wins).
|
||||
# NOTE: Boolean modifiers now generate unique filenames regardless of value (True/False).
|
||||
# Each variant combination produces a distinct filename with appropriate suffixes.
|
||||
|
||||
recipes:
|
||||
# Install variants - desktop
|
||||
|
||||
Reference in New Issue
Block a user