summaryrefslogtreecommitdiff
path: root/data/templates/openvpn
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-19 17:34:11 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-19 17:35:07 +0200
commit70e008f858be2b88e7402a176c9d9f6ec537ade7 (patch)
tree48b28c612b1880a845e5d558fbeac84cccbedb27 /data/templates/openvpn
parent5cbba3a13868d95e2b14ccac2744de09aaeca805 (diff)
downloadvyos-1x-70e008f858be2b88e7402a176c9d9f6ec537ade7.tar.gz
vyos-1x-70e008f858be2b88e7402a176c9d9f6ec537ade7.zip
openvpn: T2336: fix auth-user-pass file generation
Bug introduced in commit b36e6e6 ("openvpn: T2273: migrate from SysVinit to systemd") as not all relevant configuration files have been re-rendered into /run/openvpn
Diffstat (limited to 'data/templates/openvpn')
-rw-r--r--data/templates/openvpn/server.conf.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/openvpn/server.conf.tmpl b/data/templates/openvpn/server.conf.tmpl
index 0f563dc2b..53fe8d400 100644
--- a/data/templates/openvpn/server.conf.tmpl
+++ b/data/templates/openvpn/server.conf.tmpl
@@ -233,7 +233,7 @@ auth {{ hash }}
{%- endif -%}
{%- if auth %}
-auth-user-pass /tmp/openvpn-{{ intf }}-pw
+auth-user-pass {{ auth_user_pass_file }}
auth-retry nointeract
{%- endif %}