Closed cjbarker closed 10 years ago
This is a very interesting problem, and while I haven't run into it in the past, I have no doubt that I will some time in the future, so thank you for the links.
Fortunately, this script is meant to be run on Ubuntu Desktop, and according to your links, "Unlike Ubuntu Desktop, you can’t simply change network cards willy nilly [on Ubuntu Server]". This basically says that the problem doesn't apply in our case. I've also seen no reports of this problem on any of the 21 pages of comments (at time of writing) on the Ubuntu Forums thread about this script.
I would think that no one would want to run their Ubuntu Server with this script since:
Am I wrong? Is anyone actually using this script with Ubuntu Server?
You're correct. It appears and only applies to the Ubuntu Server (haven't reproduced problem for desktop - only tested solution). I ran into the issue while making some minor changes to your script and applying it to fix it on the server.
Given that this is not your script's original intention feel free to ignore and close this. I thought I'd bring it to your attention. That said, if you do merge it - it does no harm to existing Desktop since the OS will simply re-write the network rules.
Thanks for the script. It's been quite handy.
True - there is no harm in your code. I like how simple, and to the point it is. On the off chance that Ubuntu 13.10 or some other future version starts acting more like Ubuntu Server in this instance, at least I won't need to fix my script anymore - it will already expect the problem. I have also never collaborated on github with anyone before, so I thought it would be interesting to find out how that works (merging a pull request) :)
Thanks for the patch.
No problem. Thank you for making it simple for me to create a RAM image. Cheers!
Some versions Ubuntu and cloned images running on VirtualBox will result it unrecognized ethernet adapter due to mismatch MAC Addresses.
For more details see: http://www.serenux.com/2009/11/howto-fix-a-missing-eth0-adapter-after-moving-ubuntu-server-from-one-box-to-another/
and
http://chris.dziemborowicz.com/blog/2010/07/25/fix-missing-eth0-when-cloning-ubuntu-vmware-virtual-machines/