Difference between revisions of "Virt-clone"

From wikieduonline
Jump to navigation Jump to search
Line 12: Line 12:
 
  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)
 
  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)
  
 +
Solution:
 
  virsh undefine OTHER_MACHINE
 
  virsh undefine OTHER_MACHINE
  

Revision as of 15:05, 20 January 2020

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)
Solution:
virsh undefine OTHER_MACHINE


Related commands

Activities


See also

Advertising: