I was able to get grub to boot over HTTP, with the Tianocore firmware for qemu. The dhcpd.conf needed some modifications, my full dhcpd.conf is at dhcpd.conf · GitHub. I’ll try the end-to-end stuff with your PR in a bit.
-
To use the UEFI firmware on CentOS 7, I used the nightly images from https://fedoraproject.org/wiki/Using_UEFI_with_QEMU#Installing_.27UEFI_for_QEMU.27_nightly_builds.
-
Put the grub2 efi files on an apache server.
-
Update /etc/libvirt/qemu.conf nvram:
nvram = [ "/usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd:/usr/share/edk2.git/ovmf-x64/OVMF_VARS-pure-efi.fd" ]
- Create a VM manually and set the firmware to UEFI before booting.
Some things we’ll need to figure out:
-
Can we change the firmware from BIOS to UEFI with Fog for libvirt?
-
Tianocore always seems to try PXE first, I’m not sure how to disable that. I just removed the grub2 directory from tftp so it didn’t see it.