Resources configuration

To modify the memory (RAM), CPU, and HDD/SSD space for your node in the Vagrantfile, you can follow these steps:
1. Open the terminal on your system or connect via SSH
  1. 2.
    Navigate to the directory where the Vagrantfile is located. In this case, it's ~/mvp-pox-node/. You can use the cd command to change directories. For example:
cd ~/mvp-pox-node/
  1. 3.
    Open the Vagrantfile using your favorite text editor, such as "vi" or "nano". For example, to open it with nano:
nano Vagrantfile
  1. 4.
    Locate the lines in the Vagrantfile that define the memory, CPU, and HDD/SSD space:
  • The domain.memory line sets the amount of memory (RAM) in megabytes (MB). In this example, it's set to 4096 MB (4 GB).
  • The domain.cpus line sets the number of CPUs. In this example, it's set to 2.
  • The domain.machine_virtual_size line sets the HDD/SSD space in gigabytes (GB). In this example, it's set to 128 GB.
5. Modify the values according to your requirements. For example, if you want to increase the memory to 8192 MB (8 GB), change the line to:
6. Save the changes and exit the text editor. In nano, you can press Ctrl+X, followed by Y and Enter to save the changes.
After updating the configuration settings, the node has to be redeployed by running the following
$ sudo vagrant reload
Running this command will reload the VM, applying any changes made to the Vagrantfile without destroying the VM's current state. It will provision any necessary changes and update the VM accordingly.
Make sure you are in the same directory as the Vagrantfile when running the command from above.