[Users] Nic names : always start by eth0
Vincent Van der Kussen
vincent at vanderkussen.org
Tue Jul 30 16:24:21 UTC 2013
On Tue, 30 Jul 2013 16:40:16 +0200
Vincent Van der Kussrn <vincent at vanderkussen.org> wrote:
I hadn't looked at the history below which already explains it.
you can also add a .reconfigure file in your root that allows you
to provide a new root pwd on boot.
- Vincent
> 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" <ovirt at 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.leroy at retenodus.net>
> >> To: users at 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 at ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> >>
> >_______________________________________________
> >Users mailing list
> >Users at ovirt.org
> >http://lists.ovirt.org/mailman/listinfo/users
More information about the Users
mailing list