mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-06 15:30:14 +01:00
udev-rules: one less useless use of cat
This commit is contained in:
parent
9366bd7f90
commit
bafc26d008
1 changed files with 2 additions and 2 deletions
|
|
@ -20,13 +20,13 @@ ENV{INTERFACE}=="vboxnet[0-9]*", ENV{NM_UNMANAGED}="1"
|
|||
# Ethernet. No parent device (lives in /virtual/), no support for
|
||||
# ethtool to identify the driver. They have their own MAC prefix that
|
||||
# can not be changed.
|
||||
PROGRAM="/bin/cat %S%p/address", RESULT=="00:50:56:*", ENV{INTERFACE}=="vmnet[0-9]*", ENV{NM_UNMANAGED}="1"
|
||||
ATTR{address}=="00:50:56:*", ENV{INTERFACE}=="vmnet[0-9]*", ENV{NM_UNMANAGED}="1"
|
||||
|
||||
# Parallels Workstation host networking. Out-of-tree driver that looks like
|
||||
# an ordinary Ethernet. No parent device (lives in /virtual/), no support for
|
||||
# ethtool to identify the driver and the interface name is too generic.
|
||||
# However, they have their own MAC prefix that can not be changed.
|
||||
PROGRAM="/bin/cat %S%p/address", RESULT=="00:1c:42:*", ENV{INTERFACE}=="vnic[0-9]*", ENV{NM_UNMANAGED}="1"
|
||||
ATTR{address}=="00:1c:42:*", ENV{INTERFACE}=="vnic[0-9]*", ENV{NM_UNMANAGED}="1"
|
||||
|
||||
# Virtual Ethernet device pair. Often used to communicate with a peer interface
|
||||
# in another net namespace and managed by libvirt, Docker or the like.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue