vm_reboot
Reboot a virtual machine in XCP-ng, choosing a clean guest restart or a forced hard reset. Use dry-run to preview before applying, since the action cannot be undone.
Instructions
[WRITE][risk=medium] Reboot a VM (clean; hard with force). No undo.
A reboot has no meaningful inverse — the prior power state is captured for
the audit record only.
Args:
vm_id: VM uuid (see vm_list).
force: Hard reboot instead of a clean guest reboot.
dry_run: If True, preview without rebooting.
target: Xen Orchestra target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| vm_id | Yes | ||
| target | No | ||
| dry_run | No |