Re: Deriving VMs from a reference image via scripts

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

 



On 04/25/2014 11:49 AM, Philip Prindeville wrote:
> Hi.
> 
> I have a reference .vmdk (and .xml) reference VM.  I need to instantiate multiple new VM’s from this, but changing various parameters: name, MAC address, network connections, cores, memory size, disk size and backing store, etc. and then start these new VM’s… all via ‘virsh’ et al from a script.

You may want to look at virt-sysprep, part of the libguestfs suite of
tools, which can automate a number of these tasks when creating
derivative cloned VMs.  From the tools perspective, most of your work
will be done outside of virsh, in prepping the new disk images and
creating new derivative xml, then finally calling into virsh to start
the new xml.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux