summaryrefslogtreecommitdiff
path: root/src/conf_mode/system_console.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-05-01 19:13:55 +0200
committerChristian Poessinger <christian@poessinger.com>2022-05-01 19:13:55 +0200
commitc621175631ab23b7218d1aef7ad0f46a46cb77bc (patch)
tree54e20c22fc9adc643792abdaeb256cfec5195e3c /src/conf_mode/system_console.py
parenteafe13ace604a3381a41d07c1d49c495680bf3d7 (diff)
downloadvyos-1x-c621175631ab23b7218d1aef7ad0f46a46cb77bc.tar.gz
vyos-1x-c621175631ab23b7218d1aef7ad0f46a46cb77bc.zip
serial-console: T4353: fix Jinja2 linting errors
Diffstat (limited to 'src/conf_mode/system_console.py')
-rwxr-xr-xsrc/conf_mode/system_console.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/system_console.py b/src/conf_mode/system_console.py
index 19b252513..86985d765 100755
--- a/src/conf_mode/system_console.py
+++ b/src/conf_mode/system_console.py
@@ -103,7 +103,7 @@ def generate(console):
config_file = base_dir + f'/serial-getty@{device}.service'
getty_wants_symlink = base_dir + f'/getty.target.wants/serial-getty@{device}.service'
- render(config_file, 'getty/serial-getty.service.tmpl', device_config)
+ render(config_file, 'getty/serial-getty.service.j2', device_config)
os.symlink(config_file, getty_wants_symlink)
# GRUB