Comment 20 for bug 494185

Revision history for this message
Scott Moser (smoser) wrote : Re: [Bug 494185] Re: ec2-init selects us-east-1 mirror when running in us-west-1 region

On Tue, 19 Jan 2010, Steve Langasek wrote:

> SRU verification process doesn't allow for the uploader of the SRU being
> the sole verifier; setting back to verification-needed. Scott, can
> someone else test out the fix too?

Can someone else please verify this for me? Heres what I did to verify:
- Boot an instance of karmic 'testing' ami on ec2.
  I booted the 20100118 i386 build ubuntu-karmic-daily-i386-server-20100118:
  - eu-west-1 ami-47cfe433
  - us-east-1 ami-0312ff6a
  - us-west-1 ami-3b2c7d7e
  Ie:
  $ ec2-run-instances --region eu-west-1 ami-47cfe433
- ssh to system and enable proposed
  $ printf "%s %s %s %s\n" \
   deb http://archive.ubuntu.com/ubuntu/ karmic-proposed main |
   sudo tee -a /etc/apt/sources.list
- get new ec2-init
  sudo apt-get update && sudo apt-get install ec2-init
- remove the lock file that says setting of 'defaults' has already run
  and then reboot
  $ sudo rm -f /var/lib/ec2/ec2-defaults.ever
  $ sudo reboot
- reboot and re-connect
  verify that /etc/apt/sources.list has a valid mirror
  the region should be present in the mirror domainname, and 'apt-get
update' should function.