Lukas Greve
1aa264c146
Add recipe generator for automation and DRY recipes
...
- create generate_recipe.py: CLI tool for generating recipes from templates
- add recipe_templates.yaml: 5 base templates (virtual-desktop, virtual-server, desktop-hypervisor, live-desktop, live-server)
- add recipes_manifest.yaml: 16 recipe variants defined declaratively
- add Makefile: automation targets for generate, validate, test
- add requirements.txt: PyYAML dependency
- add tests/test_recipe_generator.py: 25 pytest tests
This enables:
- Template-based recipe generation with minimal duplication
- One-line variant addition via YAML manifest editing
- Automatic duplicate include prevention
- Ingredient path validation
Generated recipes are committed for reproducibility as per project conventions.
2026-03-24 19:52:34 +01:00
Lukas Greve
a3740d6f1e
Improve the script logic
...
Key improvements made:
Enhanced find_fedora_iso function:
Takes dish_name as parameter to understand which version to select
Parses dish names to identify "rawhide" or numeric versions like "43", "44", "45"
Matches ISO files containing both "Fedora-Everything" and the version information
Falls back gracefully if no exact match is found
Backward compatibility:
Maintained the original find_fedora_iso_old function for fallback behavior
If no matching ISO is found based on dish name, falls back to existing behavior
Smart version matching:
For virtual-desktop_43 → looks for ISO containing "43"
For virtual-desktop_rawhide → looks for ISO containing "Rawhide"
Handles edge cases with proper fallbacks
Improved robustness:
Proper error handling for missing directories
Ensures matched files actually exist and are files (not directories)
Handles multiple version patterns
2026-02-15 19:43:43 +01:00
Lukas Greve
570d355f1f
target Fedora-Everything ISO
2026-02-15 19:28:58 +01:00
Lukas Greve
2e6b0d8498
move to Fedora Everything
2026-02-14 17:46:44 +01:00
Lukas Greve
05cf28c11a
Add local ISO detection functionality to deploy-distro.sh
2025-12-11 21:56:56 +01:00
Lukas Greve
b721ec7b59
bump to fedora 43
2025-11-13 20:30:11 +01:00
Lukas Greve
a8dcf4011c
moving to no-secure-boot, and more generally a simpler virtual machine definition
2025-10-15 14:46:40 +02:00
Lukas Greve
5da0303cf5
add Spice and listen to all interfaces by default
2025-10-10 12:07:52 +02:00
Lukas Greve
cf3ff84a6d
new script to install prerequisites on common Linux distribution
2025-07-01 21:28:33 +02:00
Lukas Greve
46bbe1d5e9
add a iommu device in the automated VM deployment and set memballon to disable
2025-06-17 14:51:14 +02:00
Lukas Greve
b98f41512d
restore variables for setting specific path and networking for session and system URI
2025-06-15 17:14:31 +02:00
Lukas Greve
8c96623ad7
make selection or URI options for qemu more robust. Allow the user to just use Enter
...
Only allow selection of files that starts with virtual (this script is only used to deploy virtual machine)
Reworked some comments
2025-06-15 14:32:46 +02:00
Lukas Greve
3b4724cf86
Removing information to the user when script goes through.
2025-06-15 14:30:48 +02:00
Lukas Greve
684a49af14
no need to echo when it succeeds
2025-06-15 14:30:00 +02:00
Lukas Greve
e1207278a3
Add possibility to pick URI, from session to system
2025-06-08 11:51:15 +02:00
Lukas Greve
c458ab4b5c
add ability to pick memory and disk size
2025-05-29 17:49:30 +02:00
Lukas Greve
5c7a5713b9
bump hardware requirements, change default network, correct paths
2025-05-22 18:14:47 +02:00
Lukas Greve
63456e0e16
bump hardware requirements
2025-05-22 18:10:43 +02:00
Lukas Greve
01326af9d8
fix bug related to path
...
the extra-args should refer to the file, irrespective of its location.
2025-05-22 16:48:07 +02:00
Lukas Greve
3fafb78838
new script / wrapper around virt-install
2025-05-21 17:35:57 +02:00