diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-05-01 18:47:03 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-05-01 18:47:03 +0200 |
commit | 92f266b733a552b33ebadc6df3328d2c43c351cb (patch) | |
tree | 3a389cb0052abdcc3d800ce294d8a8ddd1ef131a /data/templates/tftp-server/default.j2 | |
parent | e6af32344b1647f59543cbc659704bb9ef08be5f (diff) | |
download | vyos-1x-92f266b733a552b33ebadc6df3328d2c43c351cb.tar.gz vyos-1x-92f266b733a552b33ebadc6df3328d2c43c351cb.zip |
tftp-server: T4353: fix Jinja2 linting errors
Diffstat (limited to 'data/templates/tftp-server/default.j2')
-rw-r--r-- | data/templates/tftp-server/default.j2 | 8 |
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 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 %} |