diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-05-01 19:13:55 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-05-01 19:13:55 +0200 |
commit | c621175631ab23b7218d1aef7ad0f46a46cb77bc (patch) | |
tree | 54e20c22fc9adc643792abdaeb256cfec5195e3c | |
parent | eafe13ace604a3381a41d07c1d49c495680bf3d7 (diff) | |
download | vyos-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-x | src/conf_mode/system_console.py | 2 |
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 |