← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1805854] Re: [feature-request] Add non-x86 Ubuntu EC2 mirrors in to default cloud-init configuration

 

This bug is believed to be fixed in cloud-init in version 18.5. If this
is still a problem for you, please make a comment and set the state back
to New

Thank you.

** Changed in: cloud-init
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1805854

Title:
  [feature-request] Add non-x86 Ubuntu EC2 mirrors in to default cloud-
  init configuration

Status in cloud-init:
  Fix Released

Bug description:
  With the announcement of EC2s A1 instances we'd (CPC) like to be able
  to rely on cloud-init to configure archive mirrors for non-x86
  architectures.

  Currently the AMIs have the mirrors configured using
  /etc/cloud/cloud.cfg.d/95_mirrors.cfg which points to the in region
  archive mirrors for non-x86 architectures.

  ```
  # Add archive mirrors for non-x86 architectures
  system_info:
     package_mirrors:
       - arches: [i386, amd64]
         failsafe:
           primary: http://archive.ubuntu.com/ubuntu
           security: http://security.ubuntu.com/ubuntu
         search:
           primary:
             - http://%(ec2_region)s.ec2.archive.ubuntu.com/ubuntu/
             - http://%(availability_zone)s.clouds.archive.ubuntu.com/ubuntu/
             - http://%(region)s.clouds.archive.ubuntu.com/ubuntu/
           security: []
       - arches: [armhf, armel, default]
         failsafe:
           primary: http://ports.ubuntu.com/ubuntu-ports
           security: http://ports.ubuntu.com/ubuntu-ports
         search:
           primary:
             - http://%(ec2_region)s.ec2.ports.ubuntu.com/ubuntu-ports/
             - http://%(availability_zone)s.clouds.ports.ubuntu.com/ubuntu-ports/
             - http://%(region)s.clouds.ports.ubuntu.com/ubuntu-ports/
           security: []
  ```

  See http://paste.ubuntu.com/p/QGvGKpKYKb/ for current AMIs that can be
  used for testing.

  So the feature request is that coud-init configure the above mirrors
  automatically without us having to write
  /etc/cloud/cloud.cfg.d/95_mirrors.cfg on the image.

  Please let me know if you would like me to spin up instances for
  testing instead or if you need any further info.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1805854/+subscriptions


References