diff options
Diffstat (limited to 'data/templates/tftp-server')
-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="" |