diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-04-11 20:58:35 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-04-11 20:58:35 +0200 |
commit | c8ae06b581cbf1a19789500ae15d07a863724272 (patch) | |
tree | 7f77e5d1f166afe90a4a3ab54a41983c63992185 /data/templates/system/sysctl.conf.tmpl | |
parent | 129e7f1d266186e40c715de9481daad25544df2f (diff) | |
download | vyos-1x-c8ae06b581cbf1a19789500ae15d07a863724272.tar.gz vyos-1x-c8ae06b581cbf1a19789500ae15d07a863724272.zip |
system-option: T4333: migrate to new vyos_defined Jinja2 test
Diffstat (limited to 'data/templates/system/sysctl.conf.tmpl')
-rw-r--r-- | data/templates/system/sysctl.conf.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/system/sysctl.conf.tmpl b/data/templates/system/sysctl.conf.tmpl index 72af82ee5..3aa857647 100644 --- a/data/templates/system/sysctl.conf.tmpl +++ b/data/templates/system/sysctl.conf.tmpl @@ -1,6 +1,6 @@ # autogenerated by system_sysctl.py
-{% if parameter is defined and parameter is not none %}
+{% if parameter is vyos_defined %}
{% for k, v in parameter.items() %}
{{ k }} = {{ v.value }}
{% endfor %}
|