diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-04-14 21:34:52 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-04-14 21:34:52 +0200 |
commit | dbfc2add3434638628b43ecfa097fbd166c85db7 (patch) | |
tree | ab219e511f48223fe18168e4bd9c3f4a1854c346 /src/conf_mode/ssh.py | |
parent | b0acc3a58f75f01ff19dbc9544e681cfc9d50c8e (diff) | |
download | vyos-1x-dbfc2add3434638628b43ecfa097fbd166c85db7.tar.gz vyos-1x-dbfc2add3434638628b43ecfa097fbd166c85db7.zip |
ssh: T4353: fix Jinja2 linting errors
Diffstat (limited to 'src/conf_mode/ssh.py')
-rwxr-xr-x | src/conf_mode/ssh.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/ssh.py b/src/conf_mode/ssh.py index 67724b043..487e8c229 100755 --- a/src/conf_mode/ssh.py +++ b/src/conf_mode/ssh.py @@ -84,8 +84,8 @@ def generate(ssh): syslog(LOG_INFO, 'SSH ed25519 host key not found, generating new key!') call(f'ssh-keygen -q -N "" -t ed25519 -f {key_ed25519}') - render(config_file, 'ssh/sshd_config.tmpl', ssh) - render(systemd_override, 'ssh/override.conf.tmpl', ssh) + render(config_file, 'ssh/sshd_config.j2', ssh) + render(systemd_override, 'ssh/override.conf.j2', ssh) # Reload systemd manager configuration call('systemctl daemon-reload') |