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