chiark / gitweb /
75-persistent-net-generator.rules: Add Xen
authorMartin Pitt <martin.pitt@ubuntu.com>
Tue, 29 Nov 2011 18:06:49 +0000 (19:06 +0100)
committerMartin Pitt <martin.pitt@ubuntu.com>
Tue, 29 Nov 2011 18:06:49 +0000 (19:06 +0100)
Xen devices are not always caught by the SUBSYSTEMS=="xen" clause, so explictly
add their registered MAC prefix:

  http://www.coffer.com/mac_find/?string=00%3A16%3A3E

https://launchpad.net/bugs/897789

extras/rule_generator/75-persistent-net-generator.rules

index 539807c..aab579c 100644 (file)
@@ -61,6 +61,8 @@ ENV{MATCHADDR}=="52:54:4c:*", GOTO="globally_administered_whitelist"
 ENV{MATCHADDR}=="52:54:ab:*", GOTO="globally_administered_whitelist"
 # Kingston Technologies
 ENV{MATCHADDR}=="e2:0c:0f:*", GOTO="globally_administered_whitelist"
 ENV{MATCHADDR}=="52:54:ab:*", GOTO="globally_administered_whitelist"
 # Kingston Technologies
 ENV{MATCHADDR}=="e2:0c:0f:*", GOTO="globally_administered_whitelist"
+# Xensource
+ENV{MATCHADDR}=="00:16:3e:*", GOTO="globally_administered_whitelist"
 
 # match interface dev_id
 ATTR{dev_id}=="?*", ENV{MATCHDEVID}="$attr{dev_id}"
 
 # match interface dev_id
 ATTR{dev_id}=="?*", ENV{MATCHDEVID}="$attr{dev_id}"