1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-09 19:05:24 +02:00
tldr/pages/common/virt-clone.md

13 lines
504 B
Markdown
Raw Normal View History

2021-04-21 13:09:00 -04:00
# virt-clone
> Clone a libvirt virtual machine.
> More information: <https://manned.org/virt-clone>.
- Clone a virtual machine and automatically generate a new name, storage path, and MAC address:
`virt-clone {{[-o|--original]}} {{vm_name}} --auto-clone`
2021-04-21 13:09:00 -04:00
- Clone a virtual machine and specify the new name, storage path, and MAC address:
`virt-clone {{[-o|--original]}} {{vm_name}} {{[-n|--name]}} {{new_vm_name}} {{[-f|--file]}} {{path/to/new_storage}} {{[-m|--mac]}} {{ff:ff:ff:ff:ff:ff|RANDOM}}`