[Bug 341006] Re: ease cloning of virtual images by disabling mac address rules

Dmitriy Altuhov dima at altuhov.su
Mon Jan 26 07:39:25 UTC 2015


I know it's too old, but today i have big problem without persistent net rules.
(sorry for my English)

I have VMWare 5.5.0 host and Ubuntu 12.04 guest with many virtual NICs (with MACs 00:0c:29*)
Today I updated kernel from 3.13.0-32 to 3.13.0-45
Rebooted VM
Lost connection to my VM over one of the NIC (which is connected to internet).

I connected to VMWare host (by VMware vSphere Client) and to Ubuntu
guest (over LAN virtual NIC who worked)

And I saw, that NICs in Ubuntu guest have correct order and matches IP-
ETHnumber like before kernel update and reboot, but IP-ETH does not
match MAC-VLAN bindings in VMWare, except eth0 (LAN NIC).

I don't understend how it happened, as I remember, I updated kernel
before many times (to 3.13.0-32) without problems.

So today I am commenting line after "ignore VMWare virtual interfaces"
to make IP-ETH-MAC match persistent.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/341006

Title:
  ease cloning of virtual images by disabling mac address rules

Status in udev package in Ubuntu:
  Fix Released

Bug description:
  Cloning an vmware image of ubuntu or ubuntu-based spin-offs like JeOS leads to unwanted side-effects after changing the mac-address as described in 
  http://communities.vmware.com//thread/198298?tstart=0
  and
  http://professionalvmware.com/2009/03/10/ubuntu-cloning-mac-address-change-mayhem/
  Both sources advise to add the following line to ‘persistent-net-generator.rules’:
    # ignore VMware virtual interfaces
    ATTR{address}=="00:0c:29:*", GOTO="persistent_net_generator_end"

  Please apply this to the packages.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/341006/+subscriptions



More information about the foundations-bugs mailing list