mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Fallback to old gateway info when WAN is not detected when configuring static ip
This commit is contained in:
parent
354d54ca34
commit
1267c1e19c
1 changed files with 5 additions and 0 deletions
|
@ -117,6 +117,11 @@
|
|||
# This workaround can and should evolve as IIAB 6.5 matures!
|
||||
when: num_lan_interfaces == "1" and user_lan_iface == "auto" and user_wan_iface == "auto"
|
||||
|
||||
- name: Use old gateway device info if not detected and using static ip
|
||||
set_fact:
|
||||
iiab_wan_iface: "{{ device_gw }}"
|
||||
when: wan_ip != "dhcp" and iiab_wan_iface == "none"
|
||||
|
||||
- name: No LAN configured - 'Appliance' mode
|
||||
set_fact:
|
||||
iiab_network_mode: "Appliance"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue