summaryrefslogtreecommitdiff
path: root/data/templates/wifi/wpa_supplicant.conf.tmpl
blob: 9ddad35fd1ed20d2dd13f3bfc9091b43e6965333 (plain)
1
2
3
4
5
6
7
8
9
# WPA supplicant config
network={
    ssid="{{ ssid }}"
{% if security is defined and security.wpa is defined and security.wpa.passphrase is defined %}
    psk="{{ security.wpa.passphrase }}"
{% else %}
    key_mgmt=NONE
{% endif %}
}