summaryrefslogtreecommitdiff
path: root/data/templates/system/sysctl.conf.j2
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-05-01 19:53:25 +0200
committerChristian Poessinger <christian@poessinger.com>2022-05-01 19:53:25 +0200
commit59290c857237912dc5cc67733622e2604f1ff30a (patch)
tree96be7d3316a715fc78cd153ebfded3f1cca9b3ca /data/templates/system/sysctl.conf.j2
parent8abb6c0a74730c3dd675148e9eacbd458f0addcb (diff)
downloadvyos-1x-59290c857237912dc5cc67733622e2604f1ff30a.tar.gz
vyos-1x-59290c857237912dc5cc67733622e2604f1ff30a.zip
system-options: T4353: fix Jinja2 linting errors
Diffstat (limited to 'data/templates/system/sysctl.conf.j2')
-rw-r--r--data/templates/system/sysctl.conf.j27
1 files changed, 7 insertions, 0 deletions
diff --git a/data/templates/system/sysctl.conf.j2 b/data/templates/system/sysctl.conf.j2
new file mode 100644
index 000000000..59a19e157
--- /dev/null
+++ b/data/templates/system/sysctl.conf.j2
@@ -0,0 +1,7 @@
+# autogenerated by system_sysctl.py
+
+{% if parameter is vyos_defined %}
+{% for k, v in parameter.items() %}
+{{ k }} = {{ v.value }}
+{% endfor %}
+{% endif %}