summaryrefslogtreecommitdiff
path: root/data/templates/tftp-server/default.j2
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/tftp-server/default.j2')
-rw-r--r--data/templates/tftp-server/default.j28
1 files changed, 8 insertions, 0 deletions
diff --git a/data/templates/tftp-server/default.j2 b/data/templates/tftp-server/default.j2
new file mode 100644
index 0000000..d9ce847
--- /dev/null
+++ b/data/templates/tftp-server/default.j2
@@ -0,0 +1,8 @@
+{# j2lint: disable=jinja-variable-format #}
+### Autogenerated by service_tftp-server.py ###
+DAEMON_ARGS="--listen --user tftp --address {{ listen_address }} {{ "--create --umask 000" if allow_upload is vyos_defined }} --secure {{ directory }}"
+{% if vrf is vyos_defined %}
+VRF_ARGS="ip vrf exec {{ vrf }}"
+{% else %}
+VRF_ARGS=""
+{% endif %}