]> err.no Git - systemd/commitdiff
Add alternative KVM MAC address blacklist
authorMartin Pitt <martin.pitt@ubuntu.com>
Thu, 2 Sep 2010 09:11:32 +0000 (11:11 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Thu, 2 Sep 2010 09:11:32 +0000 (11:11 +0200)
Reportedly, older KVM/Qemu instances indeed do use 54:52:00:*,
so add this as an alternative.

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

index f150e552088f41ee2e715bb7f71bdf572d1eaf00..2df16740e7159eee4a9f4987fe6feb89c447bcac 100644 (file)
@@ -30,7 +30,7 @@ ENV{MATCHADDR}="$attr{address}"
 ENV{MATCHIFTYPE}="$attr{type}"
 
 # ignore KVM virtual interfaces
-ENV{MATCHADDR}=="52:54:00:*", GOTO="persistent_net_generator_end"
+ENV{MATCHADDR}=="52:54:00:*|54:52:00:*", GOTO="persistent_net_generator_end"
 # ignore VMWare virtual interfaces
 ENV{MATCHADDR}=="00:0c:29:*|00:50:56:*", GOTO="persistent_net_generator_end"