2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 11:42:05 +00:00

partial fix for [openbmc]xcatd reported "Died at /opt/xcat/sbin/xcatd" when openbmc nodes updated its status from "installing" to "booting" #3026

This commit is contained in:
immarvin 2017-05-11 01:57:38 -04:00
parent dc2ae3fb9b
commit db94cc7479

View File

@ -501,7 +501,11 @@ sub process_request {
if ($args[0] eq 'next') {
$sub_req->({ command => ['rsetboot'],
node => \@nodes,
arg => ['default'] });
arg => ['default'],
#todo: do not need to pass the XCAT_OPENBMC_DEVEL after the openbmc dev work finish
#this does not hurt anything for other plugins
environment => {XCAT_OPENBMC_DEVEL=>"YES"}
});
xCAT::MsgUtils->message("S", "xCAT: petitboot netboot: clear node(s): @nodes boot device setting.");
}
my $chaintab = xCAT::Table->new('chain', -create => 1);