[debian-lan-devel] [SCM] Debian-LAN development and packaging branch, master, updated. debian/0.11-9-g89e6cfd

Andreas B. Mundt andi at debian.org
Sat Jun 8 06:19:18 UTC 2013


The following commit has been merged in the master branch:
commit 89e6cfd620c48f516d11c332daf7efda36ae1dda
Author: Andreas B. Mundt <andi at debian.org>
Date:   Sat Jun 8 08:16:54 2013 +0200

    Enable disk cache for squid.  Optional 'unburden-home-dir' package.

diff --git a/fai/config/package_config/CLIENT_A b/fai/config/package_config/CLIENT_A
index 3063506..5abd6aa 100644
--- a/fai/config/package_config/CLIENT_A
+++ b/fai/config/package_config/CLIENT_A
@@ -3,3 +3,4 @@
 PACKAGES aptitude
 sudo-ldap
 quota
+#unburden-home-dir
diff --git a/fai/config/scripts/PROXY/10-config b/fai/config/scripts/PROXY/10-config
index 787c50e..79f4487 100755
--- a/fai/config/scripts/PROXY/10-config
+++ b/fai/config/scripts/PROXY/10-config
@@ -16,6 +16,9 @@ editfiles:
 	  ## Define local network:
 	  ReplaceAll "#acl localnet src 10.0.0.0/8" With "acl localnet src ${SUBNETMASK}"
 
+	  ## Use disk cache:
+	  ReplaceAll "#cache_dir ufs /var/spool/squid3 100 16 256" With "cache_dir ufs /var/spool/squid3 100 16 256"
+
 	  ## Allow CUPS access:
 	  BeginGroupIfNoSuchLine 'acl SSL_ports port 631$(tab)$(tab)# cups'
 	    LocateLineMatching 'acl SSL_ports port 443.*'

-- 
Debian-LAN development and packaging



More information about the debian-lan-devel mailing list