diff options
author | Scott Moser <smoser@ubuntu.com> | 2011-12-16 16:42:58 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2011-12-16 16:42:58 -0500 |
commit | 5c84e5972c4e363da1b3b874d7e5af5b1cd2221b (patch) | |
tree | 0f181b03c8e81e5ac070c187d36f3472b4249844 /cloudinit/DataSource.py | |
parent | 1f292d297e368a8dce0122736aa2d140a275caba (diff) | |
parent | 32e3e2f3d637051fb79f63f791270eeb05bc721b (diff) | |
download | vyos-cloud-init-5c84e5972c4e363da1b3b874d7e5af5b1cd2221b.tar.gz vyos-cloud-init-5c84e5972c4e363da1b3b874d7e5af5b1cd2221b.zip |
add support for reading configuration of mirror and proxy
This adds support for configuration of a mirror by looking
for dns names like 'ubuntu-mirror', and setting a
'apt_mirror_search' configuration variable to find the first
mirror in the list.
Also, allows configuration of an apt proxy via 'apt_proxy'
in cloud-config.
LP: #897688
Diffstat (limited to 'cloudinit/DataSource.py')
-rw-r--r-- | cloudinit/DataSource.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/DataSource.py b/cloudinit/DataSource.py index 597760fa..06061a2e 100644 --- a/cloudinit/DataSource.py +++ b/cloudinit/DataSource.py @@ -94,7 +94,7 @@ class DataSource: return('en_US.UTF-8') def get_local_mirror(self): - return('http://archive.ubuntu.com/ubuntu/') + return None def get_instance_id(self): if 'instance-id' not in self.metadata: |