diff --git a/perl-xCAT-2.0/xCAT/DSHCLI.pm b/perl-xCAT-2.0/xCAT/DSHCLI.pm index fc0f2411f..af1c02a58 100644 --- a/perl-xCAT-2.0/xCAT/DSHCLI.pm +++ b/perl-xCAT-2.0/xCAT/DSHCLI.pm @@ -2876,10 +2876,9 @@ sub resolve_nodes my ($class, $options, $resolved_targets, $unresolved_targets, $context_targets) = @_; - + my @node_list = (); - - my @node_list = $$options{'nodes'}; + @node_list = split ',' , $$options{'nodes'}; foreach $context_node (@node_list) {