Options (4)
-o, --originalbooleanClone a virtual machine and automatically generate a new name, storage path, and MAC address
Example:
virt-clone {{[-o|--original]}} {{vm_name}} --auto-clone-n, --namebooleanClone a virtual machine and specify the new name, storage path, and MAC address
Example:
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}}-f, --filebooleanClone a virtual machine and specify the new name, storage path, and MAC address
Example:
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}}-m, --macbooleanClone a virtual machine and specify the new name, storage path, and MAC address
Example:
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}}Examples (2)
Clone a virtual machine and automatically generate a new name, storage path, and MAC address
virt-clone [-o|--original] vm_name --auto-cloneClone 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|RANDOMmade by @shridhargupta | data from tldr-pages