Fix sort -u ordering so that mktoolscenter does not report the same MT for two different models
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9001 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
6663679a5b
commit
1f080407cf
@ -177,7 +177,7 @@ my $machines;
|
||||
if ($surrogate eq 0) {
|
||||
$instroot = `gettab key=installdir site.value`;
|
||||
my $nodes = `$nodels|tr '\n' ','`;
|
||||
$machines = `$nodels $nodes vpd.mtm |cut -f2 -d:|sort -u|cut -b2-5`;
|
||||
$machines = `$nodels $nodes vpd.mtm |cut -f2 -d:|cut -b2-5|sort -u`;
|
||||
} else {
|
||||
$instroot = question("What is the installdir?","/install",'');
|
||||
$machines = question("What is the list of machine types?","7947",'');
|
||||
|
Loading…
Reference in New Issue
Block a user