diff options
author | Daniil Baturin <daniil@vyos.io> | 2022-04-08 18:00:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-08 18:00:56 +0300 |
commit | 2bf7589e926b3d5f2f7aee0f98505eeb14fc826d (patch) | |
tree | a85f72880269bfb43740b7a0bc790dcaca6de1e7 /data/templates/dhcp-server | |
parent | 654dbc9aa3b0d27ec4f3faefff6cbd85fc3e1d1a (diff) | |
parent | 630945291c9a389ad62fd32caea3749f4c5e9d72 (diff) | |
download | vyos-1x-2bf7589e926b3d5f2f7aee0f98505eeb14fc826d.tar.gz vyos-1x-2bf7589e926b3d5f2f7aee0f98505eeb14fc826d.zip |
Merge pull request #1148 from tacerus/dhcpd
T4156: Add bootfile-size option
Diffstat (limited to 'data/templates/dhcp-server')
-rw-r--r-- | data/templates/dhcp-server/dhcpd.conf.tmpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/dhcp-server/dhcpd.conf.tmpl b/data/templates/dhcp-server/dhcpd.conf.tmpl index b16d82f5c..f4297fe5f 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 vyos_defined %} 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 vyos_defined %} option time-offset {{ subnet_config.time_offset }}; {% endif %} |