Linux command
qm-clone 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Copy
qm clone 100 101
Example
qm clone 100 101 --name new_vm
Example
qm clone 100 101 --description "Clone of VM 100"
Example
qm clone 100 101 --full
Example
qm clone 100 101 --full --format qcow2
Example
qm clone 100 101 --pool pool_name
说明
qm clone creates a copy of a virtual machine on QEMU/KVM in Proxmox VE. By default, it creates linked clones that share base images with the original. The --full option creates independent copies. Cloning is useful for creating VM templates and quickly deploying multiple similar machines.
参数
- --name _name_
- Set name for the cloned VM
- --description _text_
- Set description for the cloned VM
- --full
- Create full copy of all disks instead of linked clones
- --format _format_
- Target format for disk images (qcow2, raw, vmdk)
- --pool _name_
- Add cloned VM to specified pool
FAQ
What is the qm-clone command used for?
qm clone creates a copy of a virtual machine on QEMU/KVM in Proxmox VE. By default, it creates linked clones that share base images with the original. The --full option creates independent copies. Cloning is useful for creating VM templates and quickly deploying multiple similar machines.
How do I run a basic qm-clone example?
Run `qm clone 100 101` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --name _name_ do in qm-clone?
Set name for the cloned VM