Here is a simple way to clone a virtual image created with KVM, Xen, QEMU or others.
#virt-clone -o oldDomU -n newDomU -f /var/lib/xen/images/newDomU.img
You can them use xm list to see the new virtual machine:
#xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 1985 8 r----- 10566.8
oldDomU 1 999 1 -b---- 191.0
newDomU 2 999 1 -b---- 138.7
No comments:
Post a Comment