accesspoints: fix gateway and dns for ans aps
This commit is contained in:
parent
1e82bcc6b9
commit
bf1c7bd3ab
|
@ -107,3 +107,4 @@ wifi_disabled=1
|
|||
backoffice_wifi_ssid="GU Arno-Nitzsche-Strasse Backoffice"
|
||||
backoffice_wifi_encryption=psk2
|
||||
backoffice_wifi_psk="{{ lookup('passwordstore', 'wifi/GU_Arno-Nitzsche-Straße_Backoffice') }}"
|
||||
mgmt_gateway=10.85.1.1
|
||||
|
|
|
@ -10,8 +10,8 @@ config interface 'mgmt'
|
|||
option proto 'static'
|
||||
option ipaddr '{{ ip }}'
|
||||
option netmask '255.255.255.0'
|
||||
option gateway '10.84.1.1'
|
||||
list dns '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'
|
||||
|
|
Loading…
Reference in New Issue