Setup Script - Filter out bond

This commit is contained in:
Mike Reeves
2018-11-12 10:26:50 -05:00
parent 74e2655ce5
commit d52514f1f4

View File

@@ -311,7 +311,7 @@ es_heapsize() {
filter_nics() {
# Filter the NICs that we don't want to see in setup
FNICS=$(ip link | grep -vw $MNIC | awk -F: '$0 !~ "lo|vir|veth|br|docker|wl|^[^0-9]"{print $2 " \"" "Interface" "\"" " OFF"}')
FNICS=$(ip link | grep -vw $MNIC | awk -F: '$0 !~ "lo|vir|veth|br|docker|bond|wl|^[^0-9]"{print $2 " \"" "Interface" "\"" " OFF"}')
}