-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all,
Here are the changes I was referring to in my previous email thread - these changes make the ubuntu templates aware of squid-deb-proxy servers visible to the host. https://github.com/lxc/lxc/pull/134 squid-deb-proxy uses avahi to advertise itself, and so installing squid-deb-proxy-client on the LXC host lets apt autodetect proxy settings. With this path the proxy settings are consumed by LXC when both debootstrapping a new image and inside the container itself. This makes deploying similar environments (on a development machine for example, in a CI lab, or for example using juju) *much* faster. One could achieve similar results by setting APT_PROXY or HTTP_PROXY when running lxc-create, but the advantage of this patch is that it's completely automatic. The cost for people not using squid-deb-proxy is negligible, this patch therefore adds the hook to the default ubuntu and ubuntu-cloud templates. Note: this requires "dbus," to be added to the /etc/apparmor.d/abstractions/lxc/start-container apparmor profile as Stephane suggested in the previous thread (if not using the PPA packages). Hope this can be as useful for other people as it has been for me so far, - - Chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iEYEARECAAYFAlLUIH0ACgkQND4mi+cKVzTNLQCfU0S9XAFec79gbsiR+FMgoMwq piEAnR5S9jmJ6sdaODTRjCOvm4SCMxDb =OM7W -----END PGP SIGNATURE----- _______________________________________________ lxc-devel mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-devel
