Add kvm amd support

When starting any machine on AMD processor after running this script it errors with following error `TASK ERROR: KVM virtualisation configured, but not available. Either disable in VM configuration or enable in BIOS.`

After adding this line install works as expected on AMD machines
This commit is contained in:
Dhruv Bhavsar 2023-07-24 14:02:19 -04:00 committed by GitHub
parent 9d2f5096fd
commit c573442b6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

1
setup
View File

@ -114,6 +114,7 @@ then
else else
sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="quiet"/GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on iommu=pt video=vesafb:off video=efifb:off"/g' /etc/default/grub sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="quiet"/GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on iommu=pt video=vesafb:off video=efifb:off"/g' /etc/default/grub
fi fi
echo "options kvm-amd nested=1" > /etc/modprobe.d/kvm-amd.conf
fi fi
if [ ${OSX_PLATFORM} == "INTEL" ] if [ ${OSX_PLATFORM} == "INTEL" ]