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
This commit is contained in:
mxi1 2011-04-18 08:13:53 +00:00
parent b0009e4427
commit 5de4c06581

View File

@ -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"};
}