How can I create a VM in Vagrant with VirtualBox with two CPUs?

后端 未结 3 1553
耶瑟儿~
耶瑟儿~ 2021-01-31 01:31

On Windows 7 64 bit trying to start up a VM (Ubuntu 32 bit). I\'m having trouble getting my VM to show two cores despite adding the modify vm command in my Vagrantf

3条回答
  •  难免孤独
    2021-01-31 01:49

    Add vb.customize ["modifyvm", :id, "--ioapic", "on"] to the config.vm.provider block inside your Vagrantfile.

    Looking at the VirtualBox documentation it mentions:

    "Note Enabling the I/O APIC is required for 64-bit guest operating systems, especially Windows Vista; it is also required if you want to use more than one virtual CPU in a virtual machine."

提交回复
热议问题