Re: [Users] api question / create vm from template

2013-04-09 Thread Michael Pasternak
Hi Alex, On 04/04/2013 10:40 PM, Alex Leonhardt wrote: and via the python api ? - to clone vm from template in python sdk do: vm_params_holder = params.VM(disks=params.Disks(clone=True), ...) api.vms.add(vm_params_holder) - to create vm with pre-allocated disk/s, you can modify disk/s config

[Users] api question / create vm from template

2013-04-04 Thread Alex Leonhardt
hi, i've been successful in creating a VM from a template, however, that VM is a thin-provisioned one ? is it possible to make it a cloned / pre-provisioned ? otherwise i wont be able to update/remove the template when i need to ? this is on ovirt 3.1 thanks alex -- | RHCE | Sen Sys Engineer

Re: [Users] api question / create vm from template

2013-04-04 Thread Alex Leonhardt
oh, and it'd be good if one can set the storage domain to use, what virtual nic the network card is to be assigned, etc. ? On 4 April 2013 11:03, Alex Leonhardt alex.t...@gmail.com wrote: hi, i've been successful in creating a VM from a template, however, that VM is a thin-provisioned one ?

Re: [Users] api question / create vm from template

2013-04-04 Thread Dafna Ron
Resource allocation tab will allow you to choose between thin provision and clone. On 04/04/2013 01:03 PM, Alex Leonhardt wrote: hi, i've been successful in creating a VM from a template, however, that VM is a thin-provisioned one ? is it possible to make it a cloned / pre-provisioned ?

Re: [Users] api question / create vm from template

2013-04-04 Thread Alex Leonhardt
and via the python api ? On 04/04/2013 12:41 PM, Dafna Ron wrote: Resource allocation tab will allow you to choose between thin provision and clone. On 04/04/2013 01:03 PM, Alex Leonhardt wrote: hi, i've been successful in creating a VM from a template, however, that VM is a