diff --git a/templates/accesspoints/etc/config/wireless b/templates/accesspoints/etc/config/wireless index 31d9380..aca0e99 100644 --- a/templates/accesspoints/etc/config/wireless +++ b/templates/accesspoints/etc/config/wireless @@ -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 %}