vboxmanage-modifyvm
Configure VirtualBox VM settings
TLDR
Set memory
$ vboxmanage modifyvm [vmname] --memory [2048]
Set CPUs$ vboxmanage modifyvm [vmname] --cpus [2]
Enable nested virtualization$ vboxmanage modifyvm [vmname] --nested-hw-virt on
Configure network$ vboxmanage modifyvm [vmname] --nic1 nat
Set boot order$ vboxmanage modifyvm [vmname] --boot1 dvd --boot2 disk
SYNOPSIS
vboxmanage modifyvm vmname [options]
DESCRIPTION
vboxmanage modifyvm configures virtual machine settings. Modify CPU, memory, network, storage, and display settings. VM must be powered off for most changes.
PARAMETERS
--name name
Rename VM.--memory mb
RAM size in MB.--cpus n
Number of CPUs.--nic1 type
Network adapter type.--boot1 device
First boot device.--nested-hw-virt on|off
Nested virtualization.--vram mb
Video memory.--accelerate3d on|off
3D acceleration.--clipboard mode
Clipboard mode.
SEE ALSO
vboxmanage(1), vboxmanage-createvm(1)
