This could possibly be achieved by using a regex and exposing
`skipped_interfaces` via a config option?

i.e. instead of just having "lo", allow the user to specify other
interfaces to skip in the client config file: e.g.
skipped_interfaces=["docker0", "cacl.*"]

This could then be passed to the following function in
`landscape/lib/network.py`

def get_active_device_info(skipped_interfaces=("lo",),
                           skip_vlan=True, skip_alias=True, extended=False):

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1944204

Title:
  IP report in motd should ignore virtual interfaces

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1944204/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to