remove trailing :: on apt config for proxy

This commit is contained in:
Scott Moser 2011-12-16 16:39:29 -05:00
parent b167642b34
commit 6998ea9177

View File

@ -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: