[virt-tools-list] Creating XML using template XML file
Daniel Huhardeaux
tech at tootai.net
Thu Oct 1 12:17:31 UTC 2009
Hi,
I installed few VM's based on a file template installation with dd. I
also have an xml for this template VM. Is there a way in virsh to import
the template VM XML file, adapt it to new VMs need and save it as new
domain?
What I do at this time:
#cd /etc/libvirtd/qemu
#cp VmTemplate.xml NewDomain.xml
# vi NewDomain.xml, adapt the few parameters I have to modify and save
# virsh --connect qemu:///system create NewDomain.xml
# virsh --connect qemu:///system autostart NewDomain.xml
Regards
--
Daniel
More information about the virt-tools-list
mailing list