diff options
author | Scott Moser <smoser@ubuntu.com> | 2012-08-03 14:34:29 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2012-08-03 14:34:29 -0400 |
commit | 903b0867c43819dfa04f33db3b3ecb68e906e594 (patch) | |
tree | 93796937303286ea339d487e6d3785b9b9414c8d /doc/examples/cloud-config.txt | |
parent | 659bb077d147ab8cd8fbf6b2825bcd4051b304a9 (diff) | |
download | vyos-cloud-init-903b0867c43819dfa04f33db3b3ecb68e906e594.tar.gz vyos-cloud-init-903b0867c43819dfa04f33db3b3ecb68e906e594.zip |
do not search for mirror named '<distro>-mirror' in dns by default
As described in the bug, enough non-cloud users experienced issues with
cloud-init selecting a mirror due to consumer level network providers using
dns server redirection.
We're turning this off by default.
LP: #974509
Diffstat (limited to 'doc/examples/cloud-config.txt')
-rw-r--r-- | doc/examples/cloud-config.txt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/examples/cloud-config.txt b/doc/examples/cloud-config.txt index 82055d09..1e6628d2 100644 --- a/doc/examples/cloud-config.txt +++ b/doc/examples/cloud-config.txt @@ -28,11 +28,14 @@ apt_upgrade: true # then use the mirror provided by the DataSource found. # In EC2, that means using <region>.ec2.archive.ubuntu.com # -# if no mirror is provided by the DataSource, then search -# for dns names '<distro>-mirror' in each of +# if no mirror is provided by the DataSource, and 'apt_mirror_search_dns' is +# true, then search for dns names '<distro>-mirror' in each of # - fqdn of this host per cloud metadata # - localdomain # - no domain (which would search domains listed in /etc/resolv.conf) +# If there is a dns entry for <distro>-mirror, then it is assumed that there +# is a distro mirror at http://<distro>-mirror.<domain>/<distro> +# # That gives the cloud provider the opportunity to set mirrors of a distro # up and expose them only by creating dns entries. # @@ -42,6 +45,8 @@ apt_mirror_search: - http://local-mirror.mydomain - http://archive.ubuntu.com +apt_mirror_search_dns: False + # apt_proxy (configure Acquire::HTTP::Proxy) apt_proxy: http://my.apt.proxy:3128 |