[Users] Nic names : always start by eth0

Omer Frenkel ofrenkel at redhat.com
Wed Jul 31 07:56:05 UTC 2013



----- Original Message -----
> From: "Itamar Heim" <iheim at redhat.com>
> To: "\"René \"Koch (ovido)\"\"" <r.koch at ovido.at>
> Cc: "gregoire leroy" <gregoire.leroy at retenodus.net>, users at ovirt.org, "Omer Frenkel" <ofrenkel at redhat.com>, "Michal
> Skrivanek" <mskrivan at redhat.com>, "Greg Padgett" <gpadgett at redhat.com>
> Sent: Tuesday, July 30, 2013 9:46:22 PM
> Subject: Re: [Users] Nic names : always start by eth0
> 
> On 07/30/2013 04:13 PM, René Koch (ovido) wrote:
> > Hi,
> >
> > The easiest way is to remove 70-persistent-net.rules in your master-vm,
> > remove HWADDR-strings from ifcfg-eth* friles, shut it down and create
> > the template.
> > Btw, also remove your ssh-keys in your template to create unique ones
> > for each vm...
> >
> 
> will cloud-init solve this one?
> 

we should add an ability to send a user script that cloud-init will run,
then basically user could put any configuration he would like.
this is not available currently, but i'm pretty sure supported by cloud-init.

> >
> > Regards,
> > René
> >
> >
> >
> > On Tue, 2013-07-30 at 14:59 +0200, 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
> >
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
> 
> 



More information about the Users mailing list