How to change the hypervisor to Apple in Vagrant

Discussion in 'Parallels Provider for Vagrant' started by AntonioG7, Apr 1, 2020.

  1. AntonioG7

    AntonioG7 Bit Poster

    Messages:
    2
    Hi there!
    I wish to use the Apple hypervisor.
    I can do this manually from the interface, but I want to set this up on Vagrant. How do I do it? There's no mention of this on the official documentation.
    Thanks in advance!
    Captura de Tela 2020-04-01 às 11.20.34.png
     
  2. MarkB46

    MarkB46

    Messages:
    1
    config.vm.provider :parallels do |prl|
    prl.name = "simple-linux-centos82"
    prl.customize ["set", :id, "--hypervisor-type", "apple"]
    prl.check_guest_tools = false
    prl.memory = 1024
    prl.cpus = 1
    end
    Seems to work.
     
    AntonioG7 likes this.
  3. AntonioG7

    AntonioG7 Bit Poster

    Messages:
    2
    Thank you, it does work :)
    I have done some benchmarking though and I realized the Parallels hypervisor is actually much better when it comes to resource usage. Apple's hypervisor often uses double the amount of RAM.
     

Share This Page