Comment 6 for bug 1099278

Revision history for this message
Boris Figovsky (boris-figovsky) wrote :

Here is a test case for the patch:
- Boot an Ubuntu guest (with the new udev package version) on top of Ravello, KVM or VMWare, while specifying the MAC to start with 2c:c2:60;
- Ensure that /etc/udev/rules.d/70-persistent-net.rules inside the guest has no rules.

Before I submitted the patch I tested it by:
- copying /lib/udev/rules.d/75-persistent-net-generator.rules to /etc/udev/rules.d/75-persistent-net-generator.rules inside guest hard-disk;
- patching /etc/udev/rules.d/75-persistent-net-generator.rules with the proposed patch inside guest hard-disk; and -
- booting the guest as described above.

In case injecting a new udev package is impossible before boot:
- boot with old udev package;
- clean-up /etc/udev/rules.d/70-persistent-net.rules;
- install new udev package;
- reboot.