This commit is contained in:
Philippe Caseiro 2023-01-04 11:29:12 +01:00
parent ff7dac1b94
commit f718356ad9
2 changed files with 3 additions and 2 deletions

View File

@ -62,7 +62,8 @@ locals {
GreetingMessage = "Cadoles PXE Boot Server"
DelayTime = "5"
BootingMessage = "Booting from network the Cadoles way"
DHCPRange = ""
DHCPRangeStart = ""
DHCPRangeEnd = ""
DHCPLeaseDuration = "12h"
}
MatchBox = {

View File

@ -20,7 +20,7 @@ pxe-service=X86PC,"${Vars.PXE.BootingMessage}", http://${Vars.ETH0.IP}:${Vars.Ma
dhcp-no-override
dhcp-range=${Vars.ETH0.IP},proxy
%{ else }
dhcp-range=${Vars.PXE.DHCPRange},${Vars.PXE.DHCPLeaseDuration}
dhcp-range=${Vars.PXE.DHCPRangeStart},${Vars.PXE.DHCPRangeEnd},${Vars.PXE.DHCPLeaseDuration}
%{ endif }
dhcp-option=option:dns-server,${Vars.ETH0.IP}
dhcp-option=option:domain-name,${Vars.PXE.DNSDomain}