On Sat, Jan 9, 2021 at 9:27 PM Tarun Kushwaha <tarun@synergysystemsindia.com> wrote:
Hi,

https://bugzilla.redhat.com/show_bug.cgi?id=1678262

this bug is still exist i am facing same issue when create VM from REST API and Ansible
Please give me solutions

Hi,
Indeed - the custom bios type field is not copied from the template when it's not specified in REST-API
Filed [1] on this.
You can explicitly set the custom bios type in the request (see [2]) as a workaround.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1914648
[1] https://github.com/oVirt/ovirt-ansible-collection/blob/master/roles/hosted_engine_setup/tasks/create_target_vm/01_create_target_hosted_engine_vm.yml#L187
 
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
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/users@ovirt.org/message/ORNGEKPETYTRIXXHGU4MC3VGOTJJSVKH/