support multiple synclist files in the osimage.synclists attr

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13856 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2012-09-20 18:58:47 +00:00
parent 57d4fb8e4d
commit 7c47c20be0

View File

@ -986,7 +986,12 @@ sub updatenode
if ($synclist)
{
push @{$syncfile_node{$synclist}}, $node;
# this can be a comma separated list of multiple
# syncfiles
my @sl = split(',',$synclist);
foreach my $s (@sl){
push @{$syncfile_node{$s}}, $node;
}
}
}