<div><div>You need to delete the udev created files under /etc/udev.d</div><div><br/></div><div>I believe persistent-net-70-* or something (can't check).</div><div><br/></div><div>And then create your template</div><div><br/></div><div>Vincent</div><div><br/></div><div><font style="color:#333333"><i>Connected by Motorola</i></font></div></div><br><br>"Sven M. Geschke" <ovirt@nebulaone.com> wrote:<br><br>Hi<br><br>AFAIK This is more a CentOS- than an oVirt-issue. CentOS behaves identically on vSphere.<br><br>If I remember correctly, this is due to the fact that the MAC-address of the virtual NIC has to change, when you create a VM from a template.<br>CentOS however keeps the MAC address of the template and just adds the new MAC, which then of course becomes eth1.<br><br>--SMG<br><br>----- Original Message -----<br>> From: "gregoire leroy" <gregoire.leroy@retenodus.net><br>> To: users@ovirt.org<br>> Sent: Tuesday, July 30, 2013 7:59:35 AM<br>> Subject: [Users] Nic names : always start by eth0<br>> <br>> Hello,<br>> <br>> I have an ovirt cluster which runs CentOS VM. I have a template to<br>> create VM. On this template, there are two interfaces, eth0 and eth1.<br>> When I create a VM using this template, the new interfaces are named<br>> eth2 and eth3. It can be pretty annoying and I would like to know if it<br>> would be possible to always start by eth0 ?<br>> <br>> If I remember the discussion on IRC, it would be necessary to clean old<br>> udev rules (in centos it seems to be<br>> /etc/udev/rules.d/70-persistent-net.rules)<br>> <br>> Thanks,<br>> Regards,<br>> Grégoire<br>> _______________________________________________<br>> Users mailing list<br>> Users@ovirt.org<br>> http://lists.ovirt.org/mailman/listinfo/users<br>> <br>_______________________________________________<br>Users mailing list<br>Users@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/users<br>