Forrest logo
back to the virt-clone tool

virt-clone:tldr:9c7ab

virt-clone: Clone a virtual machine and automatically generate a new name, storage path, and MAC address.
$ virt-clone --original ${vm_name} --auto-clone
try on your machine

The given command virt-clone is used to create a copy of a virtual machine. Here is the breakdown of the command:

  • --original ${vm_name}: This part of the command specifies the original virtual machine that you want to clone. The ${vm_name} placeholder should be replaced with the name of the original virtual machine.

  • --auto-clone: This option instructs virt-clone to automatically generate a new UUID (Universally Unique Identifier) for the cloned virtual machine. The UUID is a unique identifier that helps distinguish one virtual machine from another.

By running this command with the proper values, you can create a clone of the specified virtual machine.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the virt-clone tool