mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
ignore docker interfaces for LAN device count
This commit is contained in:
parent
b73354a2cf
commit
64379d9233
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@
|
|||
when: reserved_wifi is defined and discovered_wireless_iface != iiab_wan_iface and num_wifi_interfaces >= "2"
|
||||
|
||||
- name: Count LAN ifaces
|
||||
shell: ls /sys/class/net | grep -v -e wwlan -e ppp -e lo -e br0 -e tun -e {{ device_gw }} -e {{ ap_device }} | wc -l
|
||||
shell: ls /sys/class/net | grep -v -e wwlan -e ppp -e lo -e br0 -e tun -e "br-*" -e docker -e bridge0 -e veth -e {{ device_gw }} -e {{ ap_device }} | wc -l
|
||||
register: num_lan_interfaces_result
|
||||
|
||||
- name: Calculate number of LAN interfaces including WiFi
|
||||
|
|
Loading…
Reference in a new issue