local provider should support use of local proxy

Bug #1203816 reported by James Page
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Unassigned

Bug Description

First of all - great work on the local provider - works really well!

One feature I'd like to see re-introduced (juju had this a while back I think) is the ability to use a local proxy such as squid-deb-proxy or apt-cacher-ng; the use of the cloud image really reduces startup times - use of a local proxy would reduce charm install times for users on low bandwidth connections considerably.

Related branches

Revision history for this message
Sidnei da Silva (sidnei) wrote :

Linked my bare attempt. This sources /etc/default/lxc for a MIRROR setting and then sends that via cloud-init 'apt_mirror' setting, which is exactly what the ubuntu-cloud lxc template does.

If you install apt-cacher-ng in the host and then set

  MIRROR="http://10.0.3.1:3142/archive.ubuntu.com/ubuntu"

Then it will just work.

William Reade (fwereade)
Changed in juju-core:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Sidnei da Silva (sidnei) wrote :

Updated to use apt-config dump to fetch the host's apt configuration and inject it into the container.

Curtis Hovey (sinzui)
tags: added: local-provider regression
Changed in juju-core:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.