Fixes for Ironic-inspector introspection when client using UEFI

This fixes an issue during introspection when the client loops
over ipxe.efi when using UEFI.  In addition it adds support to handle
clients which report UEFI client architecture type 9 (EFI x86-64).

Change-Id: I236a58aab4000395154e5f463bad07f65b8d8b64
Closes-Bug: 1714320
(cherry picked from commit 9d7d8e7042)
This commit is contained in:
Bob Fournier 2017-08-31 14:07:55 -04:00
parent ee09d11edd
commit 64a3b773f3
1 changed files with 4 additions and 3 deletions

View File

@ -6,12 +6,13 @@ dhcp-sequential-ip
dhcp-match=ipxe,175
<% if @enable_uefi -%>
dhcp-match=set:efi,option:client-arch,7
dhcp-match=set:efi,option:client-arch,9
<% end -%>
# Client is running iPXE; move to next stage of chainloading
# Client is already running iPXE; move to next stage of chainloading
dhcp-boot=tag:ipxe,http://<%= @dnsmasq_local_ip %>:<%= @http_port_real %>/inspector.ipxe
<% if @enable_uefi -%>
# Client is running PXE over EFI; send EFI version of iPXE chainloader
dhcp-boot=tag:efi,ipxe.efi
# Client is PXE booting over EFI without iPXE ROM; send EFI version of iPXE chainloader
dhcp-boot=tag:efi,tag:!ipxe,ipxe.efi
# Client is running PXE over BIOS; send BIOS version of iPXE chainloader
<% end -%>
dhcp-boot=undionly.kpxe,localhost.localdomain,<%= @dnsmasq_local_ip %>