From 511c127832667f5db218cf803ad88355f873d399 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 20 Jan 2021 20:48:58 +0100 Subject: udev: import rule file from vyatta-cfg-system --- src/etc/udev/rules.d/63-hyperv-vf-net.rules | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/etc/udev/rules.d/63-hyperv-vf-net.rules (limited to 'src/etc/udev/rules.d/63-hyperv-vf-net.rules') diff --git a/src/etc/udev/rules.d/63-hyperv-vf-net.rules b/src/etc/udev/rules.d/63-hyperv-vf-net.rules new file mode 100644 index 000000000..b4dcb5a39 --- /dev/null +++ b/src/etc/udev/rules.d/63-hyperv-vf-net.rules @@ -0,0 +1,5 @@ +ATTR{[dmi/id]sys_vendor}!="Microsoft Corporation", GOTO="end_hyperv_nic" + +ACTION=="add", SUBSYSTEM=="net", DRIVERS=="hv_pci", NAME="vf_%k" + +LABEL="end_hyperv_nic" -- cgit v1.2.3