From: Serge L. <ser...@gm...> - 2012-03-24 21:53:16
|
On 03/24/2012 05:05 AM, Bruce Smith wrote: >> OK, the brief update. "--enable-rule_generator" works (adds persistent-net and >> persistent-cd). > > OK, good. Are you going to commit that change? Yes. > > And do we need to add anything in the boot scripts to run the script > that creates persistent-net? No. > I did a little research and it sounds like many virtualized > environments reuse MAC address ranges assigned to other manufacturers, > so I guess they don't want a conflict. I'd say if we have more than 1 NIC in a VM, we have to fixate name <-> mac regardless of possible conflict (if there is a conflict, we have to re-generate mac addresses - but it's a bit different story). To be honest, I don't understand the reason of ignoring NIC name persistence in VM, but those line were intentionally added - so, the reason apparently exists. It goads my curiosity :) > Is there a file in /lib/udev/rules.d/ that has a rule to omit KVM > devices? (like "75-persistent-net-generator.rules") If so, I'd be > okay with editing the file to remove the VM rules, or just removing > that file. Yes, it's exactly "75-persistent-net-generator.rules" file. Done as a patch because we cannot remove the rules file. Serge |