summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-05-01 18:40:57 +0200
committerChristian Poessinger <christian@poessinger.com>2022-05-01 18:40:57 +0200
commit827cefbcbfa22b42c8f144a41d6a2d3825268755 (patch)
treef0ee668ab4d32298680b901ff8b55fdb1450f019 /src/conf_mode
parenta30209ae0be3d0f1df37a30dbe73d10d3f3ec8cb (diff)
downloadvyos-1x-827cefbcbfa22b42c8f144a41d6a2d3825268755.tar.gz
vyos-1x-827cefbcbfa22b42c8f144a41d6a2d3825268755.zip
conserver: T4353: fix Jinja2 linting errors
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/service_console-server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/service_console-server.py b/src/conf_mode/service_console-server.py
index 51050e702..a2e411e49 100755
--- a/src/conf_mode/service_console-server.py
+++ b/src/conf_mode/service_console-server.py
@@ -81,7 +81,7 @@ def generate(proxy):
if not proxy:
return None
- render(config_file, 'conserver/conserver.conf.tmpl', proxy)
+ render(config_file, 'conserver/conserver.conf.j2', proxy)
if 'device' in proxy:
for device, device_config in proxy['device'].items():
if 'ssh' not in device_config:
@@ -92,7 +92,7 @@ def generate(proxy):
'port' : device_config['ssh']['port'],
}
render(dropbear_systemd_file.format(**tmp),
- 'conserver/dropbear@.service.tmpl', tmp)
+ 'conserver/dropbear@.service.j2', tmp)
return None