diff options
-rwxr-xr-x | ctdb/config/events.d/10.interface | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ctdb/config/events.d/10.interface b/ctdb/config/events.d/10.interface index d7abc186fb..35a8b2f439 100755 --- a/ctdb/config/events.d/10.interface +++ b/ctdb/config/events.d/10.interface @@ -80,7 +80,8 @@ monitor_interfaces() # we dont know how to test ib links ;; *) - [ -z "$IFACE" ] || { + [ -z "$IFACE" ] || + [ "$(basename $(readlink /sys/class/net/$IFACE/device/driver))" = virtio_net ] || { ethtool $IFACE | grep -q 'Link detected: yes' || { # On some systems, this is not successful when a # cable is plugged but the interface has not been |