If you have ever cloned an Ubuntu server machine, you may have noticed that you now have eth1 instead of eth0. Another issue that commonly happens, is eth devices aren't even recognized as you change MAC addresses for the virtual network devices. To stop this from happening, run these 2 commands as root before exporting the base hard drive.
- rm /etc/udev/rules.d/70-persistent-net.rules
- rm /etc/udev/rules.d/75-persistent-net-generator.rules
This will stop Ubuntu from regenerating eth devices for each new mac address that you generate, making the image that much more generic and portable.
No comments:
Post a Comment