cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maurice Lawler <maurice.law...@me.com>
Subject Re: Template Creation / Network Fails
Date Thu, 18 Apr 2013 03:01:27 GMT
Actually looking at the file you mentioned:

 This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single´╗┐
# line, and change only the value of the NAME= key.

# PCI device 0x1af4:0x1000 (virtio-pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="06:a9:70:00:00:0a", ATTR{type}=="1",
KERNEL=="eth*", NAME="eth0"
~                                                                                        
                              
~               

Is what I have presently.

Removing the line / or the file all together -- it is re-created.



On Apr 17, 2013, at 07:24 PM, David Nalley <david@gnsa.us> wrote:

> On Wed, Apr 17, 2013 at 7:24 PM, Milamber <milamber@apache.org> wrote:
>
> > Hello,
> >
> > Seems it's a new address MAC in the VM (create from template).
> >
> > On VM, in /etc/udev/rules.d/70-**persistent-net.rules, remove the line
> > with "NAME="eth0"" at end,
> > and modify the line with "NAME="eth1"" by "NAME="eth0"" (eth1->eth0)
> >
> > Restart VM.
> >
> > I don't know other more 'sexy' way to do this.
> >
> > Milamber
> >
> >
> There isn't.
> Thankfully udev should be gone in RHEL7
>
> --David

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
    • Unnamed multipart/related (inline, None, 0 bytes)
View raw message