revert_snapshot
Restore a virtual machine to a previous snapshot, discarding all changes since that snapshot. Requires confirmation and a stopped VM.
Instructions
DESTRUCTIVE: Revert a virtual machine to a previous snapshot.
All changes since the snapshot was taken will be lost. The VM should be stopped before reverting.
Args: vm_id: The VM identifier snapshot_id: The snapshot identifier confirm: Must be true to execute. Returns a preview otherwise.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm_id | Yes | ||
| confirm | No | ||
| snapshot_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |