summaryrefslogtreecommitdiff
path: root/data/templates/snmp/usr.snmpd.conf.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-05 19:12:57 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-05 19:12:57 +0200
commit870676f17138677c3504386c35db2a966291895c (patch)
treece286c745690c83a3db1449e77570d3c01fe2f18 /data/templates/snmp/usr.snmpd.conf.tmpl
parent6a0d923e2ecebc1f682241403179770d291478f3 (diff)
downloadvyos-1x-870676f17138677c3504386c35db2a966291895c.tar.gz
vyos-1x-870676f17138677c3504386c35db2a966291895c.zip
snmp: T2230: move inlined templates to dedicated files
Diffstat (limited to 'data/templates/snmp/usr.snmpd.conf.tmpl')
-rw-r--r--data/templates/snmp/usr.snmpd.conf.tmpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/templates/snmp/usr.snmpd.conf.tmpl b/data/templates/snmp/usr.snmpd.conf.tmpl
new file mode 100644
index 000000000..9c0337fa8
--- /dev/null
+++ b/data/templates/snmp/usr.snmpd.conf.tmpl
@@ -0,0 +1,6 @@
+### Autogenerated by snmp.py ###
+{%- for u in v3_users %}
+{{ u.mode }}user {{ u.name }}
+{%- endfor %}
+
+rwuser {{ vyos_user }}