From: Matthijs Kooijman Date: Thu, 18 Nov 2010 14:47:36 +0000 (+0100) Subject: vserver: Create clone-exclude for files not be copied on cloning. X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fservers%2Ftika.git;a=commitdiff_plain;h=f1e3fcbaedc3e9bacf24cb517afc7b7a8bec93cc vserver: Create clone-exclude for files not be copied on cloning. This file is not used automatically, but should be passed to vserver ... build ... --exclude-from --- diff --git a/etc/vservers/clone-exclude b/etc/vservers/clone-exclude new file mode 100644 index 0000000..9e796c0 --- /dev/null +++ b/etc/vservers/clone-exclude @@ -0,0 +1,7 @@ +# Don't copy ssh keys when cloning +/etc/ssh/*key* +# Dont' copy temp files when cloning (But do copy the dirs themselves) +/tmp/* +/var/tmp/* +# Don't copy any spool files (but again, do copy the dirs) +/var/spool/*/*