updated definition

updated definition without IOMMU kernel arguments for AMD
This commit is contained in:
lukas 2023-05-23 23:18:57 +02:00
parent 72009fe0b2
commit ea7ded1fe2

View File

@ -81,7 +81,7 @@ chmod +x /mnt/sysimage/usr/local/bin/virtualization-tweaks-root-needed.sh
%post --nochroot --logfile=/mnt/sysimage/opt/base-hypervisor-amdcpu.log %post --nochroot --logfile=/mnt/sysimage/opt/base-hypervisor-amdcpu.log
sed -i 's/\(quiet\)/\1 amd_iommu=on iommu=pt rd.driver.pre=vfio-pci/i' /mnt/sysimage/etc/default/grub # Load kernel modules in GRUB. sed -i 's/\(quiet\)/\1 iommu=pt rd.driver.pre=vfio-pci/i' /mnt/sysimage/etc/default/grub # Load kernel modules in GRUB.
echo "options kvm_amd nested=1" >> /mnt/sysimage/etc/modprobe.d/kvm.conf # Add support for nested-virtualization echo "options kvm_amd nested=1" >> /mnt/sysimage/etc/modprobe.d/kvm.conf # Add support for nested-virtualization