From: Matthijs Kooijman Date: Tue, 16 Sep 2008 19:41:45 +0000 (+0200) Subject: vserver: Create clone-exclude for files not be copied on cloning. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=d2f142d1e1fbc395a21303210f86fdf6deacc07c;p=matthijs%2Fservers%2Fdrsnuggles.git vserver: Create clone-exclude for files not be copied on cloning. vunify/exclude contained lines for this, but those are not used by clone (only the deprecated vcopy). --- diff --git a/etc/vservers/.defaults/apps/vunify/exclude b/etc/vservers/.defaults/apps/vunify/exclude index bd5f6bf..c94db10 100644 --- a/etc/vservers/.defaults/apps/vunify/exclude +++ b/etc/vservers/.defaults/apps/vunify/exclude @@ -1,9 +1,3 @@ -# 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 hashify these dirs /dev /etc diff --git a/etc/vservers/clone-exclude b/etc/vservers/clone-exclude new file mode 100644 index 0000000..4d78f7b --- /dev/null +++ b/etc/vservers/clone-exclude @@ -0,0 +1,5 @@ +# 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/*