make sure libvirtd starts when needed

This commit is contained in:
2021-11-28 18:17:05 +01:00
parent 7277fe262c
commit 3dbf80bcd3
5 changed files with 22 additions and 13 deletions

View File

@@ -14,5 +14,4 @@ spice-vdagent # "Agent for Spice guests" The spice agent is unnecessary for a ba
%end # End of the packages section
services --enabled=NetworkManager,qemu-guest-agent,spice-vdagentd,libvirtd --disabled=sshd # enable services for guest agents

View File

@@ -7,6 +7,8 @@
# What ? This kickstart file configures an hypervisor for AMD (tm) CPUs
services --enabled="NetworkManager,libvirtd"
%post --nochroot --log=/mnt/sysimage/root/bha.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 amd_iommu=on amd_iommu=pt rd.driver.pre=vfio-pci/i' /mnt/sysimage/etc/default/grub # Load kernel modules in GRUB.

View File

@@ -7,6 +7,8 @@
# What ? This kickstart file configures an hypervisor for Intel(tm) CPUs and Intel(tm) graphic cards
services --enabled="NetworkManager,libvirtd"
%post --nochroot --log=/mnt/sysimage/root/bhi.log # Beginning of %post section. Those commands are executed outside the chroot environment. Logging is enabled to help with post-installtion troubleshooting
sed -i 's/\(quiet\)/\1 intel_iommu=on iommu=pt rd.driver.pre=vfio-pci i915.enable_gvt=1/i' /mnt/sysimage/etc/default/grub # Load kernel modules in grub.