diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-12-03 16:32:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-03 16:32:01 +0100 |
commit | 8a38d9a1f1abfc5fc8855472a19997c1b07b820b (patch) | |
tree | a032f1507a8d07fd4c62a3b2d42f56d37d9229e9 /data/templates | |
parent | 28f40317f178a2825ebecc521da9d9d694415453 (diff) | |
parent | 748ebb81cf36a6db766510891d619a0d76e73d9e (diff) | |
download | vyos-1x-8a38d9a1f1abfc5fc8855472a19997c1b07b820b.tar.gz vyos-1x-8a38d9a1f1abfc5fc8855472a19997c1b07b820b.zip |
Merge pull request #1094 from DmitriyEshenko/eq-1x-03122021-01
tftp: T4012: Add TFTP VRF support
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/tftp-server/default.tmpl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/data/templates/tftp-server/default.tmpl b/data/templates/tftp-server/default.tmpl index 6b2d6a903..a7edf60ad 100644 --- a/data/templates/tftp-server/default.tmpl +++ b/data/templates/tftp-server/default.tmpl @@ -1,2 +1,7 @@ ### 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 %} +VRF_ARGS="ip vrf exec {{ vrf }}" +{% else %} +VRF_ARGS="" +{% endif %} |