[Feature Request] Allow regex hiding of veth network interfaces
Closed this issue · 5 comments
Description
As described here already #20, but for me, the interfaces keep changing there names.
Would be nice if there was a away to hide all interfaces which start with veth
, which in this case are generated by LXD.
Steps to Reproduce
- Install LXD (via snapd for example)
- Create a few LXD container's
- Hide them via the settings
- Restart the system
- See new interfaces which needs to be hidden again.
Screenshots
Same as #20
Environment
- Astra Monitor Version: 5 (EGOv7)
- GNOME Version: 45.3
- Operating System and Version: Arch Linux (with latest updates)
- Other Relevant System Information: n/a
Logs
n/a
Additional Context
n/a
Done!
If you wish to test this feature you might manually install this and give me some feedback:
monitor@astraext.github.io.shell-extension.zip
Whoho, that was fast. Ill see if i can test it in a few.
@ljuzig It works great.
Only the example seems to be incorrect though.
^veth[\w\d]{8}
does work.
Now I'm not sure all veth
intefaces have 8 chars appended by default, but that is at least the case for me.
@BlackDex Great, thank you for the feedback. The example was just the test case I used based off #20 output, but it's just to showcase one of the possible uses. I'm gonna change the example with veth\w{3,16}
which might be more inclusive for all settings. Anyway the \d
in your regex is basically useless since \d
is already included inside \w
.