diff --git a/playbooks/roles/bifrost-ironic-install/templates/dnsmasq.conf.j2 b/playbooks/roles/bifrost-ironic-install/templates/dnsmasq.conf.j2 index 0eb908525..7934abc1a 100644 --- a/playbooks/roles/bifrost-ironic-install/templates/dnsmasq.conf.j2 +++ b/playbooks/roles/bifrost-ironic-install/templates/dnsmasq.conf.j2 @@ -93,7 +93,7 @@ dhcp-match=set:efi,option:client-arch,9 dhcp-match=set:efi,option:client-arch,11 dhcp-optsdir={{ dnsmasq_dhcp_optsdir }} -{% if dhcp_provider == 'none' %} +{% if dhcp_provider == 'none' or enable_inspector_discovery | bool %} # Boot for Etherboot gPXE. The idea is to send two different # filenames, the first loads gPXE, and the second tells gPXE what to # load. The dhcp-match sets the gpxe tag for requests from gPXE.