diff options
author | Scott Moser <smoser@ubuntu.com> | 2011-12-16 16:39:29 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2011-12-16 16:39:29 -0500 |
commit | 9dc0f4698e6291a64abf846f6f22a3526758c183 (patch) | |
tree | acc3a989f3551761edb41ea061bf481e5e5146c4 /cloudinit/CloudConfig | |
parent | cdbbd670524a5d99113026e4caaebe79c886e89c (diff) | |
download | vyos-cloud-init-9dc0f4698e6291a64abf846f6f22a3526758c183.tar.gz vyos-cloud-init-9dc0f4698e6291a64abf846f6f22a3526758c183.zip |
remove trailing :: on apt config for proxy
Diffstat (limited to 'cloudinit/CloudConfig')
-rw-r--r-- | cloudinit/CloudConfig/cc_apt_update_upgrade.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/CloudConfig/cc_apt_update_upgrade.py b/cloudinit/CloudConfig/cc_apt_update_upgrade.py index 1e057b31..a60512e1 100644 --- a/cloudinit/CloudConfig/cc_apt_update_upgrade.py +++ b/cloudinit/CloudConfig/cc_apt_update_upgrade.py @@ -45,7 +45,7 @@ def handle(name,cfg,cloud,log,args): proxy_filename = "/etc/apt/apt.conf.d/95cloud-init-proxy" if proxy: try: - contents = "Acquire::HTTP::Proxy:: \"%s\";\n" + contents = "Acquire::HTTP::Proxy \"%s\";\n" with open(proxy_filename,"w") as fp: fp.write(contents % proxy) except Exception as e: |