diff options
author | Nathan Lasseter <Nathan Lasseter nathan@bytemark.co.uk> | 2015-11-25 23:28:29 +0000 |
---|---|---|
committer | Nathan Lasseter <Nathan Lasseter nathan@bytemark.co.uk> | 2015-11-25 23:28:29 +0000 |
commit | 775545866dd94e3c525c8a54b83313d9b0d3bf57 (patch) | |
tree | 958a474302e72061ae0eac1008bd6d251c47b97e /mtu | |
parent | 96aa6817a66c7a1f003ec0330ac3647c380e84b6 (diff) |
Don't want the virbr0 interface to come up in mtu
Diffstat (limited to 'mtu')
-rwxr-xr-x | mtu | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6,7 +6,7 @@ function actually_just_show { } function get_default_iface { - iface=$(ip a | grep "state UP" | cut -d: -f2 | tr -d '[[:space:]]') + iface=$(ip a | grep "state UP" | grep -v "virbr0" | cut -d: -f2 | tr -d '[[:space:]]') if [ "x" == "x$iface" ] then echo "No active iface" |