Having problems bundling a working Ubuntu 7.10/Gutsy image?
I thought I'd post this here in case anyone runs across the same issue I did.
If you have a working Ubuntu 7.10 image, and you use ec2-bundle-vol to create a new image and then you can't log into the new image you're probably having the same problem I had, which is that the network wasn't working at all on the rebundled image. To confirm that you can look at the console output from the failed instance with "ec2gcons".
The issue was that the network device was trying to bind to the device with the same ethernet address that it had before. This is caused by /etc/udev/rules.d/70-persistent-net.rules. You need to make sure that file doesn't appear in the new image, the easiest thing is probably to just delete the file on the current image before re-bundling. I actually did it differently (I don't like my solution, I'd like to find a better one), I edited the AMI tools and added that file as a hard-coded exclusion.
Another way might be to remove /etc/udev/rules.d/75-persistent-net-generator.rules, which generates the 70-persistent-net.rules file.
If you think of a more elegant way let me know. Hope that helps!
Paul


























You must be logged in to post a comment.