Change 802.1x parameters to be valid python identifiers

This commit is contained in:
Jack Adolph 2020-04-21 12:11:35 +10:00 committed by Till Maas
parent 16ba71f303
commit 330729c6dd
7 changed files with 137 additions and 134 deletions

View file

@ -20,9 +20,9 @@ network_provider_current: "{{
# Default to the auto-detected value
network_provider: "{{ network_provider_current }}"
# wpa_supplicant is required if any 802.1x connections are defined
# wpa_supplicant is required if any ieee802_1x connections are defined
wpa_supplicant_required: "{{ network_connections |
json_query('[*][\"802.1x\"]') | flatten | count > 0 }}"
json_query('[*][ieee802_1x]') | flatten | count > 0 }}"
_network_packages_default_802_1x: ["{% if wpa_supplicant_required
%}wpa_supplicant{% endif %}"]