Filter out the package group(start with @) in pkglist.cfm file

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15002 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
asirxing 2013-01-28 06:56:36 +00:00
parent 85e782d793
commit 125dcfa5bb

View File

@ -642,7 +642,7 @@ sub getPreOSpkgsList {
while (<$pkglistfp>)
{
my $line = xCAT::CFMUtils->trim($_);
if (($line =~ /^#/) || ($line =~ /^\s*$/ ))
if (($line =~ /^#/) || ($line =~ /^\s*$/ ) || ($line =~ /^@/))
{ #comment line or blank line
next;
} else