diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 3b2af24c..6c61e512 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -33,3 +33,4 @@ * Dietmar Rieder * Andreas Henkel * Timothy Middelkoop +* Shane Nehring diff --git a/overlays/host/rootfs/etc/dnsmasq.d/ww4-hosts.conf.ww b/overlays/host/rootfs/etc/dnsmasq.d/ww4-hosts.conf.ww index 6271b7eb..ce7ae6e3 100644 --- a/overlays/host/rootfs/etc/dnsmasq.d/ww4-hosts.conf.ww +++ b/overlays/host/rootfs/etc/dnsmasq.d/ww4-hosts.conf.ww @@ -15,8 +15,6 @@ dhcp-vendorclass=set:efi-http,HTTPClient:Arch:00016 dhcp-option-force=tag:efi-http,60,HTTPClient # for http boot always use shim/grub dhcp-boot=tag:efi-http,"http://{{$.Ipaddr}}:{{$.Warewulf.Port}}/efiboot/shim.efi" -# iPXE binary will get the following configuration file -dhcp-boot=tag:iPXE,"http://{{$.Ipaddr}}:{{$.Warewulf.Port}}/ipxe/${mac:hexhyp}" {{- if $.Warewulf.GrubBoot }} dhcp-boot=tag:x86PC,"warewulf/shim.efi" {{- else }} @@ -27,6 +25,8 @@ dhcp-boot=tag:x86PC,"/warewulf/{{ index $.Tftp.IpxeBinaries "00:07" }}" dhcp-boot=tag:aarch64,"/warewulf/{{ index $.Tftp.IpxeBinaries "00:0B" }}" {{- end }} {{- end }} +# iPXE binary will get the following configuration file +dhcp-boot=tag:iPXE,"http://{{$.Ipaddr}}:{{$.Warewulf.Port}}/ipxe/${mac:hexhyp}" dhcp-no-override {{- if $.Tftp.Enabled }} # also act as tftp server