hotfix for adp: also emit backoffice wifi in tent 1

master
Gregor Michels 2022-12-23 16:09:37 +01:00
parent 0db1eb2c6a
commit d808775f39
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ config wifi-iface 'backoffice_radio0'
option ssid '{{ backoffice_wifi_ssid }}'
option encryption '{{ backoffice_wifi_encryption }}'
option key '{{ backoffice_wifi_psk }}'
{% if not location | regex_search('office-.*') %}
{% if not location | regex_search('office-.*') and not inventory_hostname == 'ap-8f42' %}
option disabled '1'
{% endif %}
@ -63,6 +63,6 @@ config wifi-iface 'backoffice_radio1'
option ssid '{{ backoffice_wifi_ssid }}'
option encryption '{{ backoffice_wifi_encryption }}'
option key '{{ backoffice_wifi_psk }}'
{% if not location | regex_search('office-.*') %}
{% if not location | regex_search('office-.*') and not inventory_hostname == 'ap-8f42' %}
option disabled '1'
{% endif %}