← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1805854] [NEW] [feature-request] Add support for adding adding archive mirrors for non-x86 architectures on ec2

 

Public bug reported:

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.

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

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
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 support for adding adding archive mirrors for
  non-x86 architectures on ec2

Status in cloud-init:
  New

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.

  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


Follow ups