Comment 5 for bug 1323772

Revision history for this message
nickg (nickg) wrote :

This bug breaks any automated tooling in building AMsI using ubuntu.

to reproduce:

Launch in us-west-1 ami-c6bdba83 (found via https://cloud-images.ubuntu.com/locator/ec2/)

This ami is a:

us-west-1 trusty 14.04 LTS amd64 hvm:ebs-ssd 20140607.1 ami-c6bdba83 hvm

to reproduce

sudo apt-get update
sudo apt-get -y upgrade
sudo reboot # just because, likely not necessary

sudo apt-get -y dist-upgrade (and various other -force-yes)

Now complains about /boot/grub/menu.lst being modified and in conflict with update.

the fix is what peter.waller suggested in https://bugs.launchpad.net/cloud-init/+bug/1309079?comments=all

before fist-upgrade do the following

sudo rm /boot/grub/menu.lst
sudo update-grub-legacy-ec2 -y
sudo apt-get -y dist-upgrade

please advise.

thanks!

nickg