f7e6cc04cf
This patchset aims to correct some design limitations with the current ironic-inspector deploy process. - a new ironic-inspector-dnsmasq service has been created to split inspector-specific dnsmasq configuration out of the base dnsmasq config files - PXE/iPXE and UEFI support for ironic-inspector boot - (todo) documentation improvements and diagrams Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/823426 Change-Id: Ib5cbb28f97dd7421bfecb815def89305f3b1da33
25 lines
1.1 KiB
Django/Jinja
25 lines
1.1 KiB
Django/Jinja
port=15553
|
|
bind-interfaces
|
|
interface={{ ironic_inspector_dhcp_interface }}
|
|
listen-address={{ ironic_inspector_dhcp_address }}
|
|
dhcp-range={{ ironic_inspector_dhcp_pool_range | regex_replace(' ', ',') }}
|
|
tftp-root={{ ironic_inspector_tftpboot_dir }}
|
|
dhcp-option=3,{{ ironic_inspector_dhcp_gateway }}
|
|
dhcp-option=6,{{ ironic_inspector_dhcp_nameservers }}
|
|
dhcp-match=ipxe,175
|
|
dhcp-match=set:efi,option:client-arch,7
|
|
dhcp-match=set:efi,option:client-arch,9
|
|
dhcp-match=set:efi,option:client-arch,11
|
|
# OLD, but keep
|
|
#dhcp-boot=pxelinux.0,localhost.localdomain,{{ ironic_tftp_server_address }}
|
|
# Client is already running iPXE; move to next stage of chainloading
|
|
dhcp-boot=tag:ipxe,{{ ironic_http_url }}/inspector.ipxe
|
|
# 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
|
|
dhcp-boot=undionly.kpxe,localhost.localdomain,{{ ironic_tftp_server_address }}
|
|
dhcp-hostsdir=/etc/ironic-inspector/dhcp-hostsdir
|
|
dhcp-leasefile=/var/lib/ironic-inspector/inspector-dnsmasq.leases
|
|
dhcp-sequential-ip
|