Fix problem where if template passed in has parameters on a module, xCAT would consider that part of the filename

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13155 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-06-23 13:57:52 +00:00
parent ee4e786d34
commit 60a6b2d331

View File

@ -4829,6 +4829,8 @@ sub cpNetbootImages {
push @filestocopy,$1;
} elsif (/^modules=(.*)/) {
foreach (split / --- /,$1) {
s/^\s*//;
s/\s.*//;
push @filestocopy,$_;
}
}