On Wed, Dec 1, 2021, at 2:33 PM, Thomas Goirand 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?
I'm not super familiar with all the details but I believe ironic does something similar in their devstack plugin [2]. They do this so they can create fake baremetal instances that are actually VMs that ironic manages. But a similar setup will probably work for your use cases if PXE is what you are starting with.
Cheers,
Thomas Goirand (zigo)
[1] https://salsa.debian.org/openstack-team/debian/openstack-cluster-installer
[2] https://opendev.org/openstack/ironic/src/branch/master/devstack/lib/ironic#L...