]> git.ipfire.org Git - thirdparty/lxc.git/commit
detect APT_PROXY from host apt.conf
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Tue, 23 Apr 2013 13:37:41 +0000 (08:37 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 23 Apr 2013 22:57:18 +0000 (00:57 +0200)
commitcf0f903326cf3cdd10f834c1bbc627fd81e06044
treea48550177ec64611f2430f442d4c082739c60325
parent051151de890705173a42bbead40a6125d34ea41b
detect APT_PROXY from host apt.conf

Introduce a new HTTP_PROXY variable in /etc/default/lxc.  If unset or
set to none, then behavior continues as before.  If set to 'apt', then
any http::proxy set in apt.conf will be used as http_proxy for
debootstrap, and specified in the container's
/etc/apt/apt.conf.d/70proxy.  If set to something else, then the
value of HTTP_PROXY will be used as http_proxy for debootstrap and
specified in the container's 70proxy.

Changelog: (apr 23) merge the two apt proxy detection functions.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
templates/lxc-ubuntu.in