you more or less answered your own question. create a snapshot and from that create a template or volume.
On Wed, Mar 6, 2013 at 5:04 AM, Asmita Vagyani < asmita.vagy...@sigma-systems.com> wrote: > Hi all, > > I have a requirement, to create multiple copies of a VM - OS + disk data. > > I can create a VM from a template which is extracted frm a VM. > From API list I can find that I can attach a disk volume with a VM. > I can create a snapshot of the disk volume. > To create a volume you need to provide a snapshot. > > But, how can I create a volume if no snapshot is there? > > There should be an API to create snapshot from the disk-offering Id and VM > Id. > > Thanks and Regards. > > Asmita > > >