Skip to content

Commit

Permalink
Add http_proxy to environment for add_apt_repository to address juju#544
Browse files Browse the repository at this point in the history
  • Loading branch information
Drew Freiberger committed Dec 8, 2020
1 parent 198c0e3 commit 23301aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charmhelpers/fetch/ubuntu.py
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ def _add_apt_repository(spec):
# passed as environment variables (See lp:1433761). This is not the case
# LTS and non-LTS releases below bionic.
_run_with_retries(['add-apt-repository', '--yes', spec],
cmd_env=env_proxy_settings(['https']))
cmd_env=env_proxy_settings(['https', 'http']))


def _add_cloud_pocket(pocket):
Expand Down

0 comments on commit 23301aa

Please sign in to comment.