From 0db1eb2c6abb9d480d4e73e15f2b3f36edba3eb9 Mon Sep 17 00:00:00 2001 From: Gregor Michels Date: Fri, 23 Dec 2022 16:06:15 +0100 Subject: [PATCH] accesspoints: fix default dns and gateway forgot to quote the ips Fixes: bf1c7bd3abac99fc294375c059b0b1f8be127e4d --- templates/accesspoints/etc/config/network | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/accesspoints/etc/config/network b/templates/accesspoints/etc/config/network index c889079..a81da2f 100644 --- a/templates/accesspoints/etc/config/network +++ b/templates/accesspoints/etc/config/network @@ -10,8 +10,8 @@ config interface 'mgmt' option proto 'static' option ipaddr '{{ ip }}' option netmask '255.255.255.0' - option gateway '{{ mgmt_gateway | default(10.84.1.1) }}' - list dns '{{ mgmt_gateway | default(10.84.1.1) }}' + option gateway '{{ mgmt_gateway | default('10.84.1.1') }}' + list dns '{{ mgmt_gateway | default('10.84.1.1') }}' config interface 'clients' option type 'bridge'