]> git.proxmox.com Git - mirror_lxc.git/commitdiff
Added a commented squid-deb-proxy hook to ubuntu
authorChris Glass <tribaal@gmail.com>
Wed, 15 Jan 2014 08:31:53 +0000 (09:31 +0100)
committerStéphane Graber <stgraber@ubuntu.com>
Wed, 15 Jan 2014 15:06:04 +0000 (10:06 -0500)
Added a commented squid-deb-proxy hook to the common ubuntu config file
as suggested when merging the squid-deb-proxy-client hook.

Signed-off-by: Chris Glass <tribaal@gmail.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
config/templates/ubuntu.common.conf.in

index 0575321a45003ecda0b39090e392f91f5ee11406..1ec323fe420c6c0912e1e57a49f796b845108b03 100644 (file)
@@ -27,6 +27,10 @@ lxc.cap.drop = sys_module mac_admin mac_override sys_time
 #lxc.aa_profile = lxc-container-default-with-nesting
 #lxc.hook.mount = /usr/share/lxc/hooks/mountcgroups
 
+# Uncomment the following line to autodetect squid-deb-proxy configuration on the
+# host and forward it to the guest at start time.
+#lxc.hook.pre-start = /usr/share/lxc/hooks/squid-deb-proxy-client
+
 # If you wish to allow mounting block filesystems, then use the following
 # line instead, and make sure to grant access to the block device and/or loop
 # devices below in lxc.cgroup.devices.allow.