On Sun, Nov 27, 2022 at 12:10 PM Arik Hadas <[email protected]> wrote:

>
>
> On Fri, Nov 25, 2022 at 7:39 PM Ritesh Chikatwar <[email protected]>
> wrote:
>
>> Hello Kishore,
>>
>>
>> Maybe rest API will help you to do this, I am not fully aware of this you
>> need to explore.
>> http://ovirt.github.io/ovirt-engine-api-model/4.5/#_services
>>
>
> Right, you can do that with REST API by setting the body of the call to
> update-VM (PUT request) with:
> <vm>
>    <initialization/>
> </vm>
>

BTW, I've posted https://github.com/oVirt/ovirt-engine/pull/760 to be able
to do that within the request to create a new template (i.e., without
changing the VM)


>
>
>>
>>
>> On Wed, Nov 23, 2022 at 6:22 PM <[email protected]> wrote:
>>
>>> Hi All,
>>>
>>> I have a requirement to automate template creation using ansible module
>>> or apis.
>>>
>>> I need to remove cloud-init check box from vm before creating the
>>> template. Below are the steps I follow from gui
>>>
>>> 1. Shutdown the vm.
>>> 2. click edit vm > initial run> uncheck cloud-init box
>>> 3. create template.
>>>
>>> I cannot automate second step as there is no option to remove cloud-init
>>> option.
>>> Could anyone please help me if there is a way to uncheck cloud-init??
>>>
>>> BRs
>>> Kishore
>>> _______________________________________________
>>> Users mailing list -- [email protected]
>>> To unsubscribe send an email to [email protected]
>>> Privacy Statement: https://www.ovirt.org/privacy-policy.html
>>> oVirt Code of Conduct:
>>> https://www.ovirt.org/community/about/community-guidelines/
>>> List Archives:
>>> https://lists.ovirt.org/archives/list/[email protected]/message/EM7OG6UFFA6QZRBVDBDY76TSLDHOTUKT/
>>>
>> _______________________________________________
>> Users mailing list -- [email protected]
>> To unsubscribe send an email to [email protected]
>> Privacy Statement: https://www.ovirt.org/privacy-policy.html
>> oVirt Code of Conduct:
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives:
>> https://lists.ovirt.org/archives/list/[email protected]/message/P7ZE4WQCRNTQZ3IMD47DDJ5ZNBITVZU6/
>>
>
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/[email protected]/message/6OSQYIJVOC73XPXYALS4SFEQQV7T2CL2/

Reply via email to