summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-14 21:38:57 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-14 21:50:57 +0200
commitf40a192635ec3445997c100134a638b1faece044 (patch)
treec5e1044000c4be4a09cd389c10bd1ff8234ed1f9 /src/conf_mode
parentdbfc2add3434638628b43ecfa097fbd166c85db7 (diff)
downloadvyos-1x-f40a192635ec3445997c100134a638b1faece044.tar.gz
vyos-1x-f40a192635ec3445997c100134a638b1faece044.zip
ethernet: T4353: fix Jinja2 linting errors
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/interfaces-ethernet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces-ethernet.py b/src/conf_mode/interfaces-ethernet.py
index 6aea7a80e..68f59893a 100755
--- a/src/conf_mode/interfaces-ethernet.py
+++ b/src/conf_mode/interfaces-ethernet.py
@@ -152,7 +152,7 @@ def verify(ethernet):
def generate(ethernet):
if 'eapol' in ethernet:
render(wpa_suppl_conf.format(**ethernet),
- 'ethernet/wpa_supplicant.conf.tmpl', ethernet)
+ 'ethernet/wpa_supplicant.conf.j2', ethernet)
ifname = ethernet['ifname']
cert_file_path = os.path.join(cfg_dir, f'{ifname}_cert.pem')