ddns-update-style interim; allow booting; allow bootp; ignore client-updates; set vendorclass = option vendor-class-identifier; option pxe-system-type code 93 = unsigned integer 16; set pxetype = option pxe-system-type; subnet {{ ironic_inspector_dhcp_subnet }} netmask {{ ironic_inspector_dhcp_subnet_mask }} { {% if ironic_inspector_enable_dhcp_gateway | bool %} option routers {{ ironic_inspector_dhcp_gateway }}; {% endif %} {% if ironic_inspector_enable_dhcp_nameservers | bool %} option domain-name-servers {{ ironic_inspector_dhcp_nameservers}}; {% endif %} option subnet-mask {{ ironic_inspector_dhcp_subnet_mask }}; range dynamic-bootp {{ ironic_inspector_dhcp_pool_range }}; default-lease-time {{ ironic_inspector_dhcp_lease_time }}; max-lease-time 43200; next-server {{ ironic_inspector_dhcp_interface }}; class "pxeclients" { match if substring (option vendor-class-identifier, 0, 9) = "PXEClient"; if pxetype=6 or pxetype=7 { filename "syslinux.efi"; } else { {% if ironic_inspector_boot_mode == "http" %} filename "lpxelinux.0"; {% else %} filename "pxelinux.0"; {% endif %} } } }