added shim/grub find to provision process
Signed-off-by: Christian Goll <cgoll@suse.com>
This commit is contained in:
committed by
Jonathon Anderson
parent
4cacd0ef75
commit
a36cb23319
@@ -20,11 +20,15 @@ option architecture-type code 93 = unsigned integer 16;
|
||||
if exists user-class and option user-class = "iPXE" {
|
||||
filename "http://{{$.Ipaddr}}:{{$.Warewulf.Port}}/ipxe/${mac:hexhyp}";
|
||||
} else {
|
||||
{{- if .BoothMethpd == "ipxe" }}
|
||||
{{range $type,$name := $.Tftp.IpxeBinaries }}
|
||||
if option architecture-type = {{ $type }} {
|
||||
filename "/warewulf/{{ basename $name }}";
|
||||
}
|
||||
{{ end }}
|
||||
{{- end }}{{/* range IpxeBinaries */}}
|
||||
{{ else }}
|
||||
filename {{ .DefaultShim }}
|
||||
{{- end }}{{/* BootMethod */}}
|
||||
}
|
||||
|
||||
{{if eq .Dhcp.Template "static" -}}
|
||||
|
||||
Reference in New Issue
Block a user