summaryrefslogtreecommitdiff
path: root/sysconf/63-hyperv-vf-net.rules
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2020-03-09 19:17:49 +0200
committerDaniil Baturin <daniil@vyos.io>2020-03-09 19:17:49 +0200
commit5dd56053319f1af72d8d684151873e559ed1de46 (patch)
treef67c55a9ad1b729b3bfa15c57721c1f2db2b5290 /sysconf/63-hyperv-vf-net.rules
parentf1467d4c193f02bd17b31630045cd53b7109b9e3 (diff)
parent72516c872e1690895d0269cafcb87e4e44bf153c (diff)
downloadvyatta-cfg-system-vyos/1.2.5.tar.gz
vyatta-cfg-system-vyos/1.2.5.zip
Merge branch 'crux' of github.com:vyos/vyatta-cfg-system into cruxvyos/1.2.5
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..b4dcb5a3
--- /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"