diff options
author | Scott Moser <smoser@ubuntu.com> | 2011-12-16 12:22:53 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2011-12-16 12:22:53 -0500 |
commit | a0b11d8ba00b48214522adff63ef28a2b40e8efa (patch) | |
tree | c5ee131c56dcc381afae46fe7c3b44cb8dcb1b74 /cloudinit/CloudConfig/cc_apt_update_upgrade.py | |
parent | 26eaaffad7f8056d1b595aca75b8480e700c0f70 (diff) | |
download | vyos-cloud-init-a0b11d8ba00b48214522adff63ef28a2b40e8efa.tar.gz vyos-cloud-init-a0b11d8ba00b48214522adff63ef28a2b40e8efa.zip |
replace a print with a log.debug
Diffstat (limited to 'cloudinit/CloudConfig/cc_apt_update_upgrade.py')
-rw-r--r-- | cloudinit/CloudConfig/cc_apt_update_upgrade.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cloudinit/CloudConfig/cc_apt_update_upgrade.py b/cloudinit/CloudConfig/cc_apt_update_upgrade.py index 10707c77..5491f3c8 100644 --- a/cloudinit/CloudConfig/cc_apt_update_upgrade.py +++ b/cloudinit/CloudConfig/cc_apt_update_upgrade.py @@ -30,6 +30,8 @@ def handle(name,cfg,cloud,log,args): mirror = find_apt_mirror(cloud, cfg) + log.debug("selected mirror at: %s" % mirror) + if not util.get_cfg_option_bool(cfg, \ 'apt_preserve_sources_list', False): generate_sources_list(release, mirror) @@ -196,7 +198,6 @@ def find_apt_mirror(cloud, cfg): for post in doms: mirror_list.append("http://ubuntu-mirror%s/ubuntu" % post) - print "searching %s" % mirror_list mirror = util.search_for_mirror(mirror_list) if not mirror: |