2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-11-03 12:52:37 +00:00

Have rspconfig understand comma delimited args

For a multi-node node, use commas to allow user to request other
parameters for distinct sub-nodes.
This commit is contained in:
Jarrod Johnson
2017-05-02 12:02:51 -04:00
parent 93b3df81aa
commit a384f75f4d

View File

@@ -883,6 +883,11 @@ sub setnetinfo {
unless (defined($argument)) {
return 0;
}
my @arglist = split /,/, $argument;
if (scalar @arglist > 1) {
$argument = $arglist[$sessdata->{bmcnum} - 1];
}
if ($subcommand eq "thermprofile") {
return idpxthermprofile($argument);
}