accesspoints: limit backoffice wifi to aps inside office containers

This commit is contained in:
Gregor Michels 2022-10-11 01:27:49 +02:00
parent 7d4d297ef5
commit bb9f502eb9
1 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,9 @@ config wifi-iface 'backoffice_radio0'
option ssid 'GU Deutscher Platz Backoffice'
option encryption 'psk2'
option key "{{ lookup('passwordstore', 'wifi/GU_Deutscher_Platz_Backoffice') }}"
{% if location not in ['office-facility', 'office-social'] %}
option disabled '1'
{% endif %}
config wifi-device 'radio1'
option type 'mac80211'
@ -58,3 +61,6 @@ config wifi-iface 'backoffice_radio1'
option ssid 'GU Deutscher Platz Backoffice'
option encryption 'psk2'
option key "{{ lookup('passwordstore', 'wifi/GU_Deutscher_Platz_Backoffice') }}"
{% if location not in ['office-facility', 'office-social'] %}
option disabled '1'
{% endif %}