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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user