You need to delete the udev created files under /etc/udev.d

I believe persistent-net-70-* or something (can't check).

And then create your template

Vincent

Connected by Motorola

"Sven M. Geschke" <ov...@nebulaone.com> wrote:

>Hi
>
>AFAIK This is more a CentOS- than an oVirt-issue. CentOS behaves identically 
>on vSphere.
>
>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.
>CentOS however keeps the MAC address of the template and just adds the new 
>MAC, which then of course becomes eth1.
>
>--SMG
>
>----- Original Message -----
>> From: "gregoire leroy" <gregoire.le...@retenodus.net>
>> To: users@ovirt.org
>> Sent: Tuesday, July 30, 2013 7:59:35 AM
>> Subject: [Users] Nic names : always start by eth0
>> 
>> 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@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>> 
>_______________________________________________
>Users mailing list
>Users@ovirt.org
>http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to