diff --git a/xCAT-server/lib/xcat/plugins/packimage.pm b/xCAT-server/lib/xcat/plugins/packimage.pm index 568611619..74ef6000b 100644 --- a/xCAT-server/lib/xcat/plugins/packimage.pm +++ b/xCAT-server/lib/xcat/plugins/packimage.pm @@ -78,7 +78,7 @@ sub process_request { my $excludestr = "find . "; while (<$exlist>) { chomp $_; - $excludestr .= "'!' -wholename '".$_."' -a "; + $excludestr .= "'!' -path '".$_."' -a "; } close($exlist);