From d808775f39d0f9757bd1ec69f6e4dd8fe69d6b24 Mon Sep 17 00:00:00 2001 From: Gregor Michels Date: Fri, 23 Dec 2022 16:09:37 +0100 Subject: [PATCH] hotfix for adp: also emit backoffice wifi in tent 1 --- templates/accesspoints/etc/config/wireless | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 %}