[nova] Spawning instance that will do PXE booting

Tony Liu tonyliu0592 at hotmail.com
Wed Dec 1 23:47:09 UTC 2021

Here is what I would do, not validated.
* Create a network with DHCP disabled.
* Launch a VM to support PXE boot.
* Launch a VM on volume based on any image for PXE boot.
* The default virtio nic works fine with PXE boot.
* "virsh edit <instance>" to enable PXE boot on the compute node.
* "soft reboot" VM should bring VM to PXE boot.

I prefer to do this with virsh/libvirt directly, which is much easier.

From: Thomas Goirand <zigo at debian.org>
Sent: December 1, 2021 02:33 PM
To: openstack-discuss at lists.openstack.org
Subject: [nova] Spawning instance that will do PXE booting


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?


Thomas Goirand (zigo)


More information about the openstack-discuss mailing list