Increase RAM And CPU On Vagrant Machine
Last updated
We can define RAM and CPU in Vagrantfile.
Open and edit Vagrantfile to configure RAM and CPU on Vagrant as below -
config.vm.provider "virtualbox" do |v|
v.memory = 2048
v.cpus = 2
endconfig.vm.provider "libvirt" do |v|
v.memory = 2048
v.cpus = 2
endStart the Vagrant Machine with -
Reload the Vagrant Machine -
RAM and CPU should be configured, we can confirm with free -m and nproc command by running in Vagrant Machine.
Source: OSTechnix
Last updated
vagrant startvagrant reload