vm_reconfigure
Adjust a Proxmox VM's CPU cores and memory while automatically preserving prior values for easy rollback. Preview changes with dry run before applying.
Instructions
[WRITE] Change a VM's cores and/or memory (MiB). Inverse: restore prior values.
Provide at least one of cores / memory. The previous values are captured so the harness records a reverse reconfigure as the undo token. Pass dry_run=True to read the current cores/memory and preview the change.
Args: vmid: Numeric Proxmox VM id. cores: New vCPU core count (omit to leave unchanged). memory: New memory in MiB (omit to leave unchanged). dry_run: If True, preview what would change without applying it. target: Proxmox target name from config. node: Node name; omit to auto-locate the VM.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | No | ||
| vmid | Yes | ||
| cores | No | ||
| memory | No | ||
| target | No | ||
| dry_run | No |