Set guest resources
set_guest_resourcesModify a guest's CPU cores and memory allocation. Use the VMID or name to set new cores and memory in MB.
Instructions
Quickly change a guest's CPU cores and/or memory. For VMs, memory is in MB. Some changes need a reboot to take effect.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cores | No | Number of CPU cores. | |
| guest | Yes | VMID or name. | |
| memory | No | Memory in MB. |