From e3d836976800c9199841386faa6809fee6986529 Mon Sep 17 00:00:00 2001 From: Gregor Michels Date: Thu, 29 Dec 2022 15:38:24 +0100 Subject: [PATCH] Revert "hotfix for adp: also emit backoffice wifi in tent 1" This reverts commit d808775f39d0f9757bd1ec69f6e4dd8fe69d6b24. --- 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 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 %}