diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-05 22:39:44 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-05 22:39:44 +0200 |
commit | 59cf7f59ac6936bc64394e55bf0870ec73c7bbd7 (patch) | |
tree | aaaad38a65c0e4e40da2eb739f233a748bb0d5dd /data/templates/pptp/chap-secrets.tmpl | |
parent | 3ea3c8ed6bd49f4a62df2faeda598160f0d2f413 (diff) | |
download | vyos-1x-59cf7f59ac6936bc64394e55bf0870ec73c7bbd7.tar.gz vyos-1x-59cf7f59ac6936bc64394e55bf0870ec73c7bbd7.zip |
pptp: T2230: move inlined templates to dedicated files
Diffstat (limited to 'data/templates/pptp/chap-secrets.tmpl')
-rw-r--r-- | data/templates/pptp/chap-secrets.tmpl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/data/templates/pptp/chap-secrets.tmpl b/data/templates/pptp/chap-secrets.tmpl new file mode 100644 index 000000000..6bfa2d64e --- /dev/null +++ b/data/templates/pptp/chap-secrets.tmpl @@ -0,0 +1,6 @@ +# username server password acceptable local IP addresses +{% for user in authentication['local-users'] %} +{% if authentication['local-users'][user]['state'] == 'enabled' %} +{{user}}\t*\t{{authentication['local-users'][user]['passwd']}}\t{{authentication['local-users'][user]['ip']}} +{% endif %} +{% endfor %} |