diff options
author | Scott Moser <smoser@ubuntu.com> | 2018-12-04 21:45:34 +0000 |
---|---|---|
committer | Server Team CI Bot <josh.powers+server-team-bot@canonical.com> | 2018-12-04 21:45:34 +0000 |
commit | a582a2d2dff10b065b4711d583b3b158ee8b08ea (patch) | |
tree | fc607852b6019cd60127157dfffabc9fe209f828 /config | |
parent | 230e67ebd489c0d895243a2fc66ca95af2cea13b (diff) | |
download | vyos-cloud-init-a582a2d2dff10b065b4711d583b3b158ee8b08ea.tar.gz vyos-cloud-init-a582a2d2dff10b065b4711d583b3b158ee8b08ea.zip |
config: On ubuntu select cloud archive mirrors for armel, armhf, arm64.
Infrastructure is now set up for Ubuntu to handle Amazon instances
hitting a ports archive at:
- http://%(ec2_region)s.ec2.ports.ubuntu.com/ubuntu-ports/
And additionally, generic mirrors at
*.clouds.ports.ubuntu.com/ubuntu-ports
The change here will utilize those mirrors for the arm64, armel and
armhf arches.
We've decided to limit the auto-selection of those
mirrors to arm, where we know a use case. That way new instances
of ppc64el or other arches will not select them. Such a behavior change
could be problematic for a user in a firewalled environment.
LP: #1805854
Diffstat (limited to 'config')
-rw-r--r-- | config/cloud.cfg.tmpl | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/config/cloud.cfg.tmpl b/config/cloud.cfg.tmpl index 1fef133a..7513176b 100644 --- a/config/cloud.cfg.tmpl +++ b/config/cloud.cfg.tmpl @@ -167,7 +167,17 @@ system_info: - http://%(availability_zone)s.clouds.archive.ubuntu.com/ubuntu/ - http://%(region)s.clouds.archive.ubuntu.com/ubuntu/ security: [] - - arches: [armhf, armel, default] + - arches: [arm64, armel, armhf] + 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: [] + - arches: [default] failsafe: primary: http://ports.ubuntu.com/ubuntu-ports security: http://ports.ubuntu.com/ubuntu-ports |