6 Commits
Author SHA1 Message Date
Lukas Greve 698c7679be feat: enable Fedora 44 hypervisor recipe with systemd-boot
- uncomment the hypervisor recipe, targeting Fedora 44 with
  systemd-boot, hardware-support and the intelcpu variant
- make intelcpu.ks bootloader-aware: with systemd-boot kernel
  arguments must go to /etc/kernel/cmdline, not /etc/default/grub
2026-09-10 13:14:03 +02:00
Lukas Greve cdda0a57a3 Revert "fix: include weak dependencies to prevent scriptlet failures"
This reverts commit 6e040e05a7.
2026-09-05 21:45:42 +02:00
Lukas Greve b4010ee2fb fix: use grub2-tools, grub2-common %posttrans also needs grub2-mkconfig 2026-09-05 21:36:01 +02:00
Lukas Greve cd442c555f fix: add grub2-tools-minimal so grub2-common %posttrans does not fail the transaction 2026-09-05 21:27:16 +02:00
Lukas Greve 6e040e05a7 fix: include weak dependencies to prevent scriptlet failures 2026-09-05 21:17:01 +02:00
Lukas Greve 8a6a97559d feat: enable Fedora 44 server variant with systemd-boot
- re-enable the commented-out server recipe group
- repository: Fedora 44 only (was 43/rawhide)
- bootloader: systemd-boot (was grub)
- explicit initial-setup: server choice
- yields dish server_44_standard_systemd-boot_server_guest-agents.cfg
2026-09-05 13:51:16 +02:00
3 changed files with 26 additions and 20 deletions
+5 -1
View File
@@ -2,7 +2,11 @@
%post --nochroot --log=/mnt/sysimage/root/hypervisor-intelcpu-post.log # Beginning of %post section. Those commands are executed outside the chroot environment. Logging is enabled to help with post-installation troubleshooting
sed -i 's/\(quiet\)/\1 intel_iommu=on iommu=pt rd.driver.pre=vfio-pci/i' /mnt/sysimage/etc/default/grub # Load kernel modules in GRUB.
if [ -f /mnt/sysimage/etc/kernel/cmdline ]; then # systemd-boot: kernel arguments live in /etc/kernel/cmdline
grep -q "intel_iommu=on" /mnt/sysimage/etc/kernel/cmdline || sed -i 's/$/ intel_iommu=on iommu=pt rd.driver.pre=vfio-pci/' /mnt/sysimage/etc/kernel/cmdline # Append IOMMU arguments once
else # GRUB: kernel arguments live in /etc/default/grub
sed -i 's/\(quiet\)/\1 intel_iommu=on iommu=pt rd.driver.pre=vfio-pci/i' /mnt/sysimage/etc/default/grub # Load kernel modules in GRUB.
fi
echo "options kvm_intel nested=1" >> /mnt/sysimage/etc/modprobe.d/kvm.conf # Add support for nested virtualization on Intel CPUs
+1
View File
@@ -2,6 +2,7 @@
%packages --exclude-weakdeps
grub2-tools # Provides grub2-mkconfig and grub2-editenv, required by the grub2-common %posttrans scriptlet (exit 127 otherwise, which fails the whole dnf transaction)
pciutils # PCI bus related utilities
libusb # Library for accessing USB devices
usbutils # Linux USB utilities
+20 -19
View File
@@ -26,25 +26,26 @@ recipes:
hardware-support: [true, false]
guest-agents: [true, false]
# # Server variants
# - name: server
# variants:
# - repository: ["43", "rawhide"]
# storage: standard
# bootloader: grub
# hardware-support: false
# guest-agents: true
#
# # Hypervisor variants
# - name: hypervisor
# variants:
# - repository: 43
# storage: standard
# bootloader: grub
# hardware-support: true
# guest-agents: false
# hypervisor: base
# hypervisor_type: ["amdcpu", "intelcpu"]
# Server variants
- name: server
variants:
- repository: ["44"]
storage: standard
bootloader: systemd-boot
hardware-support: false
guest-agents: true
initial-setup: server
# Hypervisor variants
- name: hypervisor
variants:
- repository: ["44"]
storage: standard
bootloader: systemd-boot
hardware-support: true
guest-agents: false
hypervisor: base
hypervisor_type: intelcpu
#
# # Desktop-hypervisor variants
# - name: desktop-hypervisor