diff --git a/xCAT-server/lib/xcat/plugins/bmcconfig.pm b/xCAT-server/lib/xcat/plugins/bmcconfig.pm index 1496931f2..577c998a6 100644 --- a/xCAT-server/lib/xcat/plugins/bmcconfig.pm +++ b/xCAT-server/lib/xcat/plugins/bmcconfig.pm @@ -5,6 +5,7 @@ use xCAT::Table; use xCAT::MsgUtils; use xCAT::Utils; use xCAT::PasswordUtils; +use xCAT::IMMUtils; use xCAT::TableUtils; use IO::Select; use Socket; @@ -130,6 +131,10 @@ sub process_request { $callback->({error=>["Invalid table configuration for bmcconfig"],errorcode=>[1]}); return 1; } + if ($request->{command}->[0] eq 'remoteimmsetup') { + xCAT::IMMUtils::setupIMM($node,cliusername=>$username,clipassword=>$password,callback=>$callback); + return; + } my $response={bmcip=>$ip,netmask=>$mask,gateway=>$gw,username=>$username,password=>$password}; if (defined $bmcport) { $response->{bmcport}=$bmcport;