From f1e3fcbaedc3e9bacf24cb517afc7b7a8bec93cc Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Thu, 18 Nov 2010 15:47:36 +0100 Subject: [PATCH] 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 --- etc/vservers/clone-exclude | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 etc/vservers/clone-exclude 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/*/* -- 2.30.2