From 5de4c065819e0367e1d71914314902151a6f0a2f Mon Sep 17 00:00:00 2001 From: mxi1 Date: Mon, 18 Apr 2011 08:13:53 +0000 Subject: [PATCH] for defect 3276866, updated the default exclude-file list. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9335 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/imgcapture.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/imgcapture.pm b/xCAT-server/lib/xcat/plugins/imgcapture.pm index 852d387c4..93e4d0e33 100644 --- a/xCAT-server/lib/xcat/plugins/imgcapture.pm +++ b/xCAT-server/lib/xcat/plugins/imgcapture.pm @@ -220,7 +220,7 @@ sub imgcapture { close $exlist; } else { # the following directories must be exluded when capturing the image - my @default_exlist = ("./tmp/", "./proc/", "./sys/", "./dev/", "./xcatpost/", "./install/"); + my @default_exlist = ("./tmp/*", "./proc/*", "./sys/*", "./dev/*", "./xcatpost/*", "./install/*"); foreach my $item (@default_exlist) { $excludestr .= qq{ ! -path "$item"}; }