diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-04-13 22:53:32 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-04-13 22:55:46 +0200 |
commit | f5dc3db1fb62a51b80eeb635e91e38d28c0fe291 (patch) | |
tree | 1be71b6aef3ebc89e28552049e12b16eb6fbec31 /data/templates/dhcp-server | |
parent | 32ad92cd87b229d35840bd92c44fc70a6638c506 (diff) | |
download | vyos-1x-f5dc3db1fb62a51b80eeb635e91e38d28c0fe291.tar.gz vyos-1x-f5dc3db1fb62a51b80eeb635e91e38d28c0fe291.zip |
dhcp: T4333: migrate to new vyos_defined Jinja2 test
Diffstat (limited to 'data/templates/dhcp-server')
-rw-r--r-- | data/templates/dhcp-server/dhcpd.conf.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/dhcp-server/dhcpd.conf.tmpl b/data/templates/dhcp-server/dhcpd.conf.tmpl index 00f6eba8e..efc144a1e 100644 --- a/data/templates/dhcp-server/dhcpd.conf.tmpl +++ b/data/templates/dhcp-server/dhcpd.conf.tmpl @@ -158,7 +158,7 @@ shared-network {{ network }} { {% 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 %} +{% if subnet_config.bootfile_size is vyos_defined %} option boot-size {{ subnet_config.bootfile_size }}; {% endif %} {% if subnet_config.time_offset is vyos_defined %} |