[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[virt-tools-list] Creating XML using template XML file



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]