diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-08-17 12:13:07 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-08-17 12:13:07 +0200 |
commit | fd339a3e45efea527e599fb430ccf538103b2369 (patch) | |
tree | 0831f8696ec1ae8f7cc6871443b16319b2b45a27 | |
parent | 7f41c331f9023972097ad8e5b375fdf82843e121 (diff) | |
download | vyos-1x-fd339a3e45efea527e599fb430ccf538103b2369.tar.gz vyos-1x-fd339a3e45efea527e599fb430ccf538103b2369.zip |
openvpn: T1548: add description to generated config file
-rwxr-xr-x | src/conf_mode/interface-openvpn.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/conf_mode/interface-openvpn.py b/src/conf_mode/interface-openvpn.py index 67700222c..1988dcdb1 100755 --- a/src/conf_mode/interface-openvpn.py +++ b/src/conf_mode/interface-openvpn.py @@ -44,6 +44,10 @@ config_tmpl = """ # See https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage # for individual keyword definition +{% if description %} +# {{ description }} +{% endif %} + verb 3 status /opt/vyatta/etc/openvpn/status/{{ intf }}.status 30 writepid /var/run/openvpn/{{ intf }}.pid |