2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-22 19:20:24 +00:00

Fix lenovo utility usage of pasu

Lenovo uses the same asu utility, but a different path.  Try to
use the lenovo utility, falling back to the IBM location if
not found.
This commit is contained in:
jjohnson2
2015-05-08 10:53:18 -04:00
parent 2c0b4d2182
commit d123aab564

View File

@@ -20,7 +20,10 @@ use xCAT::Utils;
use Getopt::Long;
use POSIX qw(:signal_h :errno_h :sys_wait_h);
use Thread qw(yield);
$::asucmd = '/opt/ibm/toolscenter/asu/asu64';
$::asucmd = '/opt/lenovo/toolscenter/asu/asu64';
if (! -x $::asucmd) {
$::asucmd = '/opt/ibm/toolscenter/asu/asu64';
}
my $interface;
my $username;
my $passwd;