I have resolved this issue. Thank you.


On Apr 17, 2013, at 11:07 PM, Maurice Lawler <maurice.law...@me.com> wrote:

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="" 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 <da...@gnsa.us> wrote:

On Wed, Apr 17, 2013 at 7:24 PM, Milamber <milam...@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

Reply via email to