[CentOS] turning off udev for eth0

m.roth at 5-cent.us m.roth at 5-cent.us
Tue Jan 3 16:58:43 UTC 2012

James B. Byrne wrote:
> I have set up a kvm host and configured a standard clone
> prototype for generating new guests. One persistent (pun
> intended) annoyance when cloning is the behaviour of udev
> with respect to the virtual network interface.
> The prototype is configured with just eth0 having a
> dedicated IP addr.  When the prototype is cloned udev
> creates rules for both eth0 and eth1 in the clone.
On the physical box, how many NICs are there?

> Is there no way to alter udev's behaviour?  Is udev even
> needed on a server system using virtual hardware?

Have you edited /etc/udev/rules.d in the prototype setup?

> Altering the rules file not a big deal in itself but it
> adds needless busywork when setting up a new guest.

Unfortunately, no, you need it: on boot, /dev, and everything in it, is
created on the fly by udev.


More information about the CentOS mailing list