diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-04 22:19:38 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-04 22:19:38 +0200 |
commit | 3d978249b313c0e4a12cf7aabad4a272a7593c50 (patch) | |
tree | 4253c292c02e7a121d75df8a1ada1f6ae536b8ac /data/templates/wifi/wpa_supplicant.conf.tmpl | |
parent | 08235013e5c950967fc807ba9f14e408aa0c9302 (diff) | |
download | vyos-1x-3d978249b313c0e4a12cf7aabad4a272a7593c50.tar.gz vyos-1x-3d978249b313c0e4a12cf7aabad4a272a7593c50.zip |
wireless: T1627: move Jinja2 templates to data/templates folder
Diffstat (limited to 'data/templates/wifi/wpa_supplicant.conf.tmpl')
-rw-r--r-- | data/templates/wifi/wpa_supplicant.conf.tmpl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/data/templates/wifi/wpa_supplicant.conf.tmpl b/data/templates/wifi/wpa_supplicant.conf.tmpl new file mode 100644 index 000000000..4a14cd309 --- /dev/null +++ b/data/templates/wifi/wpa_supplicant.conf.tmpl @@ -0,0 +1,9 @@ +# WPA supplicant config
+network={
+ ssid="{{ ssid }}"
+{%- if sec_wpa_passphrase %}
+ psk="{{ sec_wpa_passphrase }}"
+{% else %}
+ key_mgmt=NONE
+{% endif %}
+}
|