diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-04-10 20:55:21 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-04-10 20:55:35 +0200 |
commit | 4dc4bbc6ce6ab4a3a531b16619b5c34816366afc (patch) | |
tree | 42cdc687326e97030b427a3be8902ec53d790e6d /data | |
parent | 5eed0cba04ce6f2e69dd91edf91c6930e9bb80a3 (diff) | |
download | vyos-1x-4dc4bbc6ce6ab4a3a531b16619b5c34816366afc.tar.gz vyos-1x-4dc4bbc6ce6ab4a3a531b16619b5c34816366afc.zip |
tftp-server: T4333: migrate to new vyos_defined Jinja2 test
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/tftp-server/default.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/tftp-server/default.tmpl b/data/templates/tftp-server/default.tmpl index a7edf60ad..56784d467 100644 --- a/data/templates/tftp-server/default.tmpl +++ b/data/templates/tftp-server/default.tmpl @@ -1,6 +1,6 @@ ### Autogenerated by tftp_server.py ### -DAEMON_ARGS="--listen --user tftp --address {{ listen_address }} {{ "--create --umask 000" if allow_upload is defined }} --secure {{ directory }}" -{% if vrf is defined %} +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="" |