summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-05-20 20:21:16 +0200
committerChristian Poessinger <christian@poessinger.com>2021-05-20 20:22:37 +0200
commit2cd0f2aad01e57fe052622c7062d472e8cda3bcc (patch)
treee62e4ad326fc1add63bdc57743b7c394cff33646 /data/templates
parenta1ab13b533f300353579cf4d23f8e6a77ca02100 (diff)
downloadvyos-1x-2cd0f2aad01e57fe052622c7062d472e8cda3bcc.tar.gz
vyos-1x-2cd0f2aad01e57fe052622c7062d472e8cda3bcc.zip
sysctl: T3565: initial implementation in XML and Python
migrate from old vyatta-cfg-system / Perl implementation.
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/system/sysctl.conf.tmpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/data/templates/system/sysctl.conf.tmpl b/data/templates/system/sysctl.conf.tmpl
new file mode 100644
index 000000000..72af82ee5
--- /dev/null
+++ b/data/templates/system/sysctl.conf.tmpl
@@ -0,0 +1,7 @@
+# autogenerated by system_sysctl.py
+
+{% if parameter is defined and parameter is not none %}
+{% for k, v in parameter.items() %}
+{{ k }} = {{ v.value }}
+{% endfor %}
+{% endif %}