ctdb-eventscripts: Remove special case for virtio_net
authorMartin Schwenke <martin@meltin.net>
Tue, 29 Jul 2014 05:08:36 +0000 (15:08 +1000)
committerAmitay Isaacs <amitay@samba.org>
Thu, 31 Jul 2014 11:08:47 +0000 (13:08 +0200)
commitbc59e508d381e6ec2a47eed1e0bc8fc3025904a2
tree81a617e3d8316758e2b23a8f738d60c6d0b0b8e6
parente17c241711487cd2d203b50fceda83f745b97dc4
ctdb-eventscripts: Remove special case for virtio_net

The current check is incorrect in 2 ways:

* Commit be71a84565e9e7532a77c175732b764d1f42c1cd contained a thinko
  that stops virtio_net interfaces from simply being marked up

* virtio_net interfaces can actually be down

virtio_net has supported ethtool since Linux 2.6.29, so just remove
the special case.  This means that testing CTDB on very old virtual
machines is not supported.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Thu Jul 31 13:08:47 CEST 2014 on sn-devel-104
ctdb/config/events.d/10.interface