Hardware specification

If you need a more powerful Vagrant machine, you can use provider-specific code in your Vagrantfile to beef up the hardware spec. In the following example we will use the memory value to set a higher memory (RAM) for the machine. We also set the cpus value to set a higher processor count. Finally, we set the gui value so we can access the machine via a graphical user interface:

config.vm.provider "virtualbox" do |vb|
vb.memory = 4096
vb.cpus = 2
vb.gui = true
end

This is VirtualBox-specific code.

Please note: You cannot specify a higher hardware specification than the host machine.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.14.132.214