mirror of
https://github.com/PhyllomeOS/phyllomeos.git
synced 2024-11-04 19:51:10 +00:00
correct mistake
iommu=pt allows for the system not to passthrough stuff that can be passed through
This commit is contained in:
parent
40be769d79
commit
5e727e93f0
@ -9,7 +9,7 @@
|
||||
|
||||
%post --nochroot --log=/mnt/sysimage/opt/base-hypervisor-amdcpu.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.
|
||||
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.
|
||||
|
||||
echo "options kvm_amd nested=1" >> /mnt/sysimage/etc/modprobe.d/kvm.conf # Add support for nested-virtualization
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user