lxc apt configuration

Sidnei da Silva sidnei.da.silva at canonical.com
Fri Jul 26 11:37:07 UTC 2013


On Fri, Jul 26, 2013 at 6:20 AM, Stuart Bishop
<stuart.bishop at canonical.com>wrote:

> Hi.
>
> Can anyone help me get my juju spawned lxc containers using a mirror
> or better yet my local apt-cacher-ng proxy?
>
> The containers I spawn manually get setup correctly via the MIRROR
> environment variable, so I've opened Bug #1204092. I'm interested in
> alternative approaches or workarounds that work with juju, as the
> update/upgrade step is taking several minutes with the default UK
> servers.
>

I was looking at the same, and came up with this as a workaround:

http://paste.ubuntu.com/5914532/

If you have a charm that supports basenode already, just drop this into
exec.d/<something>/charm-pre-install with chmod +x.

Of course, a proper fix would be more than welcome.

-- 
Sidnei

Make the most of Ubuntu with Ubuntu One
http://one.ubuntu.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20130726/e3e43e96/attachment-0001.html>


More information about the Juju mailing list