added asset-tag to ipxe script request fix #1110

Signed-off-by: Josh Burks <jeburks2@asu.edu>
This commit is contained in:
Josh Burks
2024-06-18 09:23:18 -07:00
parent a26370c8a2
commit dd6b419440
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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 }} {