clone_guest
Create an independent or linked copy of a VM or container with a new ID and name, optionally targeting specific storage.
Instructions
Clone a VM or container into a new guest.
Args: vmid: Source guest to clone. new_vmid: ID for the clone. Must not already exist. name: Name or hostname for the clone. full: Full independent copy. False makes a linked clone, which only works from a template and stays dependent on it. storage: Target storage for a full clone. Defaults to the source's.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | ||
| name | No | ||
| vmid | Yes | ||
| storage | No | ||
| new_vmid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||