Virt-clone
Jump to navigation
Jump to search
virt-clone
command is inclueed in Ubuntu in virtinst
package.
virt-clone --original ORIGIN_MACHINE --name NEW_MACHINE --auto-clone
hostnamectl set-hostname NEW_SERVER_NAME
virt-clone --original ORIGIN_MACHINE --name NEW_MACHINE --auto-clone ERROR Disk /path/to/file.qcow2 is already in use by other guests ['OTHER_MACHINE']. (Use --check path_in_use=off or --check all=off to override)
virsh undefine OTHER_MACHINE
Related commands
virt-sysprep
(libguestfs-tools
package)virsh edit
Activities
- Clone a virtual machine using https://www.cyberciti.biz/faq/how-to-clone-existing-kvm-virtual-machine-images-on-linux/ as reference
See also
Advertising: