On 6/12/23 15:38, Lukas Zapletal wrote:> Hello,
>
> I would like to be able to change the boot order of an EFI VM via
> libvirt API. Specifically, I am looking into configuring a VM to boot
> over HTTP UEFI Boot or HTTPS UEFI Boot (also available as HTTP IPv4 in
> the firmware).
>
> Is this possible? I cannot find anything relevant in the documentation.
Thanks.
>
It is possible. Just use <boot order=''/> for individual devices,
or:
<os>
<boot dev='net'/>
</os>
https://libvirt.org/formatdomain.html#specifying-boot-order
https://libvirt.org/formatdomain.html#bios-bootloader
Michal