On 07/25/14 11:52, Tom Horsley wrote:
On Fri, 25 Jul 2014 10:15:32 -0400
Bob Goodwin - Zuni, Virginia, USA wrote:
Now that I have a working Centos7 VM how do I save it and transfer it ti
a second computer?
virsh dumpxml centos7 > centos7.xml
Replace centos7 with whatever your virtual machine name actually is.
That gives you an xml file which will contain one or more lines of the
form:
<source file='/zooty/images/centos7.img'/>
Copy the xml file to the new machine, copy the disk image file it
mentions to the new machine as well, then on the new machine run
virsh define centos7.xml
If you want to change the name of the image file, you can do
that, but be sure to change the xml to reflect the new name
before running the virsh define.
P.S. The virtual machine should not be running when you do this.
Is this the image file you're talking about?
<source file='/var/lib/libvirt/images/Centos7.qcow2'/>
I don't see anything xxx.img.
Bob
--
http://www.qrz.com/db/W2BOD
box10 Fedora-20/64bit Linux/XFCE
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org