Removed absolute path when invoking lpar_netboot.expect - Line #161
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@479 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
5deffdf1cc
commit
6b0e861711
@ -147,7 +147,7 @@ sub ivm_getmacs {
|
||||
my $ssh = @$exp[0];
|
||||
my $userid = @$exp[4];
|
||||
my $pw = @$exp[5];
|
||||
my $cmd = "/opt/xcat/sbin/lpar_netboot.expect";
|
||||
my $cmd;
|
||||
my $result;
|
||||
|
||||
#######################################
|
||||
@ -155,6 +155,12 @@ sub ivm_getmacs {
|
||||
#######################################
|
||||
xCAT::PPCcli::disconnect( $exp );
|
||||
|
||||
#######################################
|
||||
# Find Expect script
|
||||
#######################################
|
||||
$cmd = ($::XCATROOT) ? "$::XCATROOT/sbin/" : "/opt/xcat/sbin/";
|
||||
$cmd .= "lpar_netboot.expect";
|
||||
|
||||
#######################################
|
||||
# Check command installed
|
||||
#######################################
|
||||
@ -311,3 +317,4 @@ sub getmacs {
|
||||
|
||||
1;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user