summaryrefslogtreecommitdiff
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
parenteafe13ace604a3381a41d07c1d49c495680bf3d7 (diff)
downloadvyos-1x-c621175631ab23b7218d1aef7ad0f46a46cb77bc.tar.gz
vyos-1x-c621175631ab23b7218d1aef7ad0f46a46cb77bc.zip
serial-console: T4353: fix Jinja2 linting errors
-rw-r--r--data/templates/getty/serial-getty.service.j2 (renamed from data/templates/getty/serial-getty.service.tmpl)0
-rwxr-xr-xsrc/conf_mode/system_console.py2
2 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/getty/serial-getty.service.tmpl b/data/templates/getty/serial-getty.service.j2
index 0183eae7d..0183eae7d 100644
--- a/data/templates/getty/serial-getty.service.tmpl
+++ b/data/templates/getty/serial-getty.service.j2
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