We faced the same use case, and we end up doing something like this:

- disable security on the network provider (or on the instance port where pxe boot is needed)
- deploy or rescue the intance with an ipxe image

Cheers

On Wed, Dec 1, 2021, 23:36 Thomas Goirand <zigo@debian.org> wrote:
Hi,

In order to test OCI [1] within OpenStack itself, I would need my
instances to do PXE booting. This would be with something like this on
the qemu command line:

qemu-system-x86_64 -boot n

I believe this would also mean setting-up network cards that can do PXE
booting, like the e1000, which Qemu supports.

If that is possible, then I would setup DHCP + tftp-hpa on another
instance, wired on the same private network.

Your thoughts? Is this possible?

Cheers,

Thomas Goirand (zigo)

[1]
https://salsa.debian.org/openstack-team/debian/openstack-cluster-installer