From 15461be0cd7b51e0e290d66bae0bb112f6b2c3ea Mon Sep 17 00:00:00 2001 From: Georg Date: Sun, 9 Jan 2022 21:10:38 +0100 Subject: T4156: Add bootfile-size option Signed-off-by: Georg --- data/templates/dhcp-server/dhcpd.conf.tmpl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'data') diff --git a/data/templates/dhcp-server/dhcpd.conf.tmpl b/data/templates/dhcp-server/dhcpd.conf.tmpl index 233e2cc53..e47838c8c 100644 --- a/data/templates/dhcp-server/dhcpd.conf.tmpl +++ b/data/templates/dhcp-server/dhcpd.conf.tmpl @@ -158,6 +158,9 @@ shared-network {{ network | replace('_','-') }} { {% if subnet_config.bootfile_server is defined and subnet_config.bootfile_server is not none %} next-server {{ subnet_config.bootfile_server }}; {% endif %} +{% if subnet_config.bootfile_size is defined and subnet_config.bootfile_size is not none %} + option boot-size {{ subnet_config.bootfile_size }}; +{% endif %} {% if subnet_config.time_offset is defined and subnet_config.time_offset is not none %} option time-offset {{ subnet_config.time_offset }}; {% endif %} -- cgit v1.2.3