Fix dhcp template for static template
Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu>
This commit is contained in:
committed by
Christian Goll
parent
cf0167432c
commit
df6242d66f
@@ -48,10 +48,8 @@ if exists user-class and option user-class = "iPXE" {
|
||||
|
||||
subnet {{$.Network}} netmask {{$.Netmask}} {
|
||||
max-lease-time 120;
|
||||
{{- if ne .Dhcp.Template "static" }}
|
||||
range {{$.Dhcp.RangeStart}} {{$.Dhcp.RangeEnd}};
|
||||
next-server {{.Ipaddr}};
|
||||
{{- end }}
|
||||
}
|
||||
|
||||
{{- if eq .Dhcp.Template "static" }}
|
||||
|
||||
Reference in New Issue
Block a user