mirror of
https://github.com/luchina-gabriel/OSX-PROXMOX.git
synced 2024-11-22 11:55:18 +01:00
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:
parent
9d2f5096fd
commit
c573442b6f
1
setup
1
setup
@ -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" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user