summaryrefslogtreecommitdiff
path: root/sysconf/63-hyperv-vf-net.rules
diff options
context:
space:
mode:
Diffstat (limited to 'sysconf/63-hyperv-vf-net.rules')
-rw-r--r--sysconf/63-hyperv-vf-net.rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysconf/63-hyperv-vf-net.rules b/sysconf/63-hyperv-vf-net.rules
new file mode 100644
index 00000000..4ee10fc1
--- /dev/null
+++ b/sysconf/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" \ No newline at end of file