diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-05-01 19:53:25 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-05-01 19:53:25 +0200 |
commit | 59290c857237912dc5cc67733622e2604f1ff30a (patch) | |
tree | 96be7d3316a715fc78cd153ebfded3f1cca9b3ca /src/conf_mode | |
parent | 8abb6c0a74730c3dd675148e9eacbd458f0addcb (diff) | |
download | vyos-1x-59290c857237912dc5cc67733622e2604f1ff30a.tar.gz vyos-1x-59290c857237912dc5cc67733622e2604f1ff30a.zip |
system-options: T4353: fix Jinja2 linting errors
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/system-option.py | 4 | ||||
-rwxr-xr-x | src/conf_mode/system_sysctl.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/conf_mode/system-option.py b/src/conf_mode/system-option.py index b1c63e316..36dbf155b 100755 --- a/src/conf_mode/system-option.py +++ b/src/conf_mode/system-option.py @@ -74,8 +74,8 @@ def verify(options): return None def generate(options): - render(curlrc_config, 'system/curlrc.tmpl', options) - render(ssh_config, 'system/ssh_config.tmpl', options) + render(curlrc_config, 'system/curlrc.j2', options) + render(ssh_config, 'system/ssh_config.j2', options) return None def apply(options): diff --git a/src/conf_mode/system_sysctl.py b/src/conf_mode/system_sysctl.py index 4f16d1ed6..2e0004ffa 100755 --- a/src/conf_mode/system_sysctl.py +++ b/src/conf_mode/system_sysctl.py @@ -50,7 +50,7 @@ def generate(sysctl): os.unlink(config_file) return None - render(config_file, 'system/sysctl.conf.tmpl', sysctl) + render(config_file, 'system/sysctl.conf.j2', sysctl) return None def apply(sysctl): |