Skip to content

Instantly share code, notes, and snippets.

@Alecerzea
Last active July 7, 2024 17:27
Show Gist options
  • Save Alecerzea/87a9530a9d16f9845cb071ae42458d99 to your computer and use it in GitHub Desktop.
Save Alecerzea/87a9530a9d16f9845cb071ae42458d99 to your computer and use it in GitHub Desktop.
Make OSX-KVM and ULTMOS work on Virt-Manager on Fedora-Linux
#OSX-KVM works if you launch it through the terminal, If you wanna use it inside Virt-Manager, as well as ULTMOS, you would need these commands
echo "Do you use OSX-KVM or ULTMOS? [O/U]"
read -r OSX
case "$OSX" in
o|O)
cd ~
chown -R qemu:qemu OSX-KVM
cd OSX-KVM
chcon -R -u system_u -r object_r -t svirt_image_t OVMF_CODE.fd
;;
u|U)
cd ~
chown -R qemu:qemu ultimate-macOS-KVM
cd ultimate-macOS-KVM/ovmf
chcon -R -u system_u -r object_r -t svirt_image_t OVMF_CODE.fd
esac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment