diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a6d6c31..7a297412 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,6 +39,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Fix an invalid format issue for the GitHub nightly build action. #1258 - Fix broken `/etc/warewulf/excludes` handling #1266 - Fix wwclient not reading asset-tag. #1110 +- Fix iPXE script not including asset-tag #1110 ## v4.5.4, 2024-06-12 diff --git a/overlays/host/rootfs/etc/dhcp/dhcpd.conf.ww b/overlays/host/rootfs/etc/dhcp/dhcpd.conf.ww index b95d8200..332347aa 100644 --- a/overlays/host/rootfs/etc/dhcp/dhcpd.conf.ww +++ b/overlays/host/rootfs/etc/dhcp/dhcpd.conf.ww @@ -39,7 +39,7 @@ if substring (option vendor-class-identifier, 0, 9) = "PXEClient" { } {{- else }} if exists user-class and option user-class = "iPXE" { - filename "http://{{$.Ipaddr}}:{{$.Warewulf.Port}}/ipxe/${mac:hexhyp}"; + filename "http://{{$.Ipaddr}}:{{$.Warewulf.Port}}/ipxe/${mac:hexhyp}?assetkey=${asset}&uuid=${uuid}""; } else { {{range $type,$name := $.Tftp.IpxeBinaries }} if option architecture-type = {{ $type }} {