From 2234532ac8e38fdf963f66f3fb105e4ba3e617a9 Mon Sep 17 00:00:00 2001 From: Gregory Kurtzer Date: Thu, 30 Sep 2021 23:01:34 -0700 Subject: [PATCH] Add dhcpd lease max time --- etc/dhcp/default-dhcpd.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/dhcp/default-dhcpd.conf b/etc/dhcp/default-dhcpd.conf index 6ab76b26..9f92acc2 100644 --- a/etc/dhcp/default-dhcpd.conf +++ b/etc/dhcp/default-dhcpd.conf @@ -35,6 +35,7 @@ if exists user-class and option user-class = "iPXE" { } subnet {{$.Network}} netmask {{$.Netmask}} { + max-lease-time 120; range {{$.RangeStart}} {{$.RangeEnd}}; next-server {{$.Ipaddr}}; }