From f5dc3db1fb62a51b80eeb635e91e38d28c0fe291 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 13 Apr 2022 22:53:32 +0200 Subject: dhcp: T4333: migrate to new vyos_defined Jinja2 test --- data/templates/dhcp-server/dhcpd.conf.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %} -- cgit v1.2.3