diff --git a/templates/accesspoints/etc/config/wireless b/templates/accesspoints/etc/config/wireless index aca0e99..31d9380 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-.*') and not inventory_hostname == 'ap-8f42' %} +{% if not location | regex_search('office-.*') %} 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-.*') and not inventory_hostname == 'ap-8f42' %} +{% if not location | regex_search('office-.*') %} option disabled '1' {% endif %}