~oddbloke/cloud-init/fix-gce-az

« back to all changes in this revision

Viewing changes to config/cloud.cfg

  • Committer: Daniel Watkins
  • Date: 2015-07-22 12:06:34 UTC
  • Revision ID: daniel.watkins@canonical.com-20150722120634-90bdpdli7eora2j7
Add DataSource.region and use it in mirror selection.

Also implement DataSource.region for EC2 and GCE data sources.

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
         primary:
105
105
           - http://%(ec2_region)s.ec2.archive.ubuntu.com/ubuntu/
106
106
           - http://%(availability_zone)s.clouds.archive.ubuntu.com/ubuntu/
 
107
           - http://%(region)s.clouds.archive.ubuntu.com/ubuntu/
107
108
         security: []
108
109
     - arches: [armhf, armel, default]
109
110
       failsafe: