Problem:
We use Intel NUCs, the latest models no longer support legacy bios, so I need to get UEFI boot working for discovery and provisioning. I am trying with pxegrub2_discovery template
I only have the below problem with UEFI boot, legacy pxe (PXELinux global default) discovery is working fine
The discovery image netboots ok, but when it comes to the point where it prompts for the network configuration, and I let it timeout to automatically configure via DHCP it fails to find a suitable interface and does not get a lease
I get the following error on the console log
fdi /usr/bin/discovery-register[2414] Registering host at (https://foreman)
fdi /usr/bin/discovery-register[2414] Could not retrieve fact=‘ipaddress’, resolution=‘anonymous’ : Could not execute ‘host fdi’ : command not found
fdi /usr/bin/discovery-register[2414] Could not send facts to server: getaddrinfo: Name or service not known
if I monitor using wireshark for DHCP/BOOTP I see no requests coming from the discovery image
however if I choose DHCP from the menu and just hit enter through all the options it gets an address fine
Expected outcome:
Discovery image requests dhcp address when UEFI booting
Foreman and Proxy versions:
Foreman 1.17.3
Discovery v3.4.4 image
Foreman and Proxy plugin versions:
DNS plugin 1.17.3
Discovery plugin 1.0.3
Other relevant data:
[e.g. logs from Foreman and/or the Proxy, modified templates, commands issued, etc]