[Users] Nic names : always start by eth0

Pavel Zhukov pzhukov at redhat.com
Tue Jul 30 13:10:42 UTC 2013


Hi 

You have toremove HWADDR value from theifcfg-ethX and rules string
from /etc/udev/rules.d/70-persistent-net.rules files. 
It'll work fine if you have only one NIC per machine. 


-- 
Best regards, Pavel Zhukov 
Software Maintenance Engineer
RHCE, RHCVA
Tel: +420.532294671
mailto:pzhukov at redhat.com

On Tue, 30 Jul 2013, gregoire.leroy at retenodus.net wrote:

| Hello,
| 
| I have an ovirt cluster which runs CentOS VM. I have a template to
| create VM. On this template, there are two interfaces, eth0 and
| eth1.
| When I create a VM using this template, the new interfaces are named
| eth2 and eth3. It can be pretty annoying and I would like to know if
| it would be possible to always start by eth0 ?
| 
| If I remember the discussion on IRC, it would be necessary to clean
| old udev rules (in centos it seems to be
| /etc/udev/rules.d/70-persistent-net.rules)
| 
| Thanks,
| Regards,
| Grégoire
| _______________________________________________
| Users mailing list
| Users at ovirt.org
| http://lists.ovirt.org/mailman/listinfo/users



More information about the Users mailing list