JeOS running on VirtualBox looses its networking settings when imported on another machine.

by rp

JeOS

JeOS on VirtualBox has been my preferred distro/app for running vm for basic development for a while now, thanks for Brad’s post and it has worked quite well for me so far.

One of the problems that I faced when setting up development environments for the team was when we prepared an image and copied over to a server to run it for other users to use, it would loose all its networking settings. The solution for its fix was as follows:

#ifconfig -a

This will show you all the interfaces, even the ones that dont show up when you run ifconfig by itself. If you can see the eth0.. etc in there then edit the file at /etc/udev/rules.d/70-persistent-net.rules

#sudo vi /etc/udev/rules.d/70-persistent-net.rules

remove all the entries in it that were returned by the ifconfig -a command, save and reboot. When the networking service gets started again (actually you could just restart the service ‘networking’ rather than rebooting the vm) the interfaces would get configured correctly.