diff options
Diffstat (limited to 'data/templates/tftp-server')
-rw-r--r-- | data/templates/tftp-server/default.j2 | 8 | ||||
-rw-r--r-- | data/templates/tftp-server/default.tmpl | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/data/templates/tftp-server/default.j2 b/data/templates/tftp-server/default.j2 new file mode 100644 index 000000000..b2676e0aa --- /dev/null +++ b/data/templates/tftp-server/default.j2 @@ -0,0 +1,8 @@ +{# j2lint: disable=jinja-variable-format #} +### Autogenerated by 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 %} diff --git a/data/templates/tftp-server/default.tmpl b/data/templates/tftp-server/default.tmpl deleted file mode 100644 index 6b2d6a903..000000000 --- a/data/templates/tftp-server/default.tmpl +++ /dev/null @@ -1,2 +0,0 @@ -### Autogenerated by tftp_server.py ### -DAEMON_ARGS="--listen --user tftp --address {{ listen_address }} {{ "--create --umask 000" if allow_upload is defined }} --secure {{ directory }}" |