Increase RAM And CPU On Vagrant Machine
We can define RAM and CPU in Vagrantfile.
Step 1: Edit Vagrantfile
Open and edit Vagrantfile
to configure RAM and CPU on Vagrant as below -
For VirtualBox VM
For Libvirt VM
Step 2: Start/Reload Vagrant Machine
Start 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