diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-05-01 18:40:57 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-05-01 18:40:57 +0200 |
commit | 827cefbcbfa22b42c8f144a41d6a2d3825268755 (patch) | |
tree | f0ee668ab4d32298680b901ff8b55fdb1450f019 /data/templates/conserver/conserver.conf.tmpl | |
parent | a30209ae0be3d0f1df37a30dbe73d10d3f3ec8cb (diff) | |
download | vyos-1x-827cefbcbfa22b42c8f144a41d6a2d3825268755.tar.gz vyos-1x-827cefbcbfa22b42c8f144a41d6a2d3825268755.zip |
conserver: T4353: fix Jinja2 linting errors
Diffstat (limited to 'data/templates/conserver/conserver.conf.tmpl')
-rw-r--r-- | data/templates/conserver/conserver.conf.tmpl | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/data/templates/conserver/conserver.conf.tmpl b/data/templates/conserver/conserver.conf.tmpl deleted file mode 100644 index 4e7b5d8d7..000000000 --- a/data/templates/conserver/conserver.conf.tmpl +++ /dev/null @@ -1,37 +0,0 @@ -### Autogenerated by service_console-server.py ### - -# See https://www.conserver.com/docs/conserver.cf.man.html for additional options - -config * { - primaryport 3109; - daemonmode false; -} - -default * { - motd "VyOS Console Server"; - rw *; -} - -## -## list of consoles we serve -## -{% for key, value in device.items() %} -{# Depending on our USB serial console we could require a path adjustment #} -{% set path = '/dev' if key.startswith('ttyS') else '/dev/serial/by-bus' %} -console {{ key }} { - master localhost; - type device; - device {{ path }}/{{ key }}; - baud {{ value.speed }}; - parity {{ value.parity }}; - options {{ "!" if value.stop_bits == "1" }}cstopb; -} -{% endfor %} - -## -## list of clients we allow -## -access * { - trusted localhost; - allowed localhost; -} |