mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-21 19:22:05 +00:00
Fix 3787, code error when missing -l option for makedhcp in nodeset (#3788)
This commit is contained in:
parent
4c8c80c809
commit
254cf2b2bf
@ -816,7 +816,7 @@ sub process_request {
|
||||
if ($request->{'_disparatetftp'}->[0]) { #reading hint from preprocess_command
|
||||
xCAT::MsgUtils->trace($verbose_on_off, "d", "grub2: issue makedhcp request");
|
||||
$sub_req->({ command => ['makedhcp'],
|
||||
node => \@{ $osimagenodehash{$osimage} } }, $callback);
|
||||
node => \@{ $osimagenodehash{$osimage} }, arg => ['-l'] }, $callback);
|
||||
} else {
|
||||
xCAT::MsgUtils->trace($verbose_on_off, "d", "grub2: issue makedhcp request");
|
||||
$sub_req->({ command => ['makedhcp'],
|
||||
|
@ -656,7 +656,7 @@ sub process_request {
|
||||
}
|
||||
if ($do_dhcpsetup) {
|
||||
my @parameter;
|
||||
push @parameter, '-l' if ($::request->{'_disparatetftp'}->[0]);
|
||||
push @parameter, '-l' if ($request->{'_disparatetftp'}->[0]);
|
||||
xCAT::MsgUtils->trace($verbose_on_off, "d", "petitboot: issue makedhcp request");
|
||||
|
||||
$sub_req->({ command => ['makedhcp'],
|
||||
|
@ -711,7 +711,7 @@ sub process_request {
|
||||
}
|
||||
if ($do_dhcpsetup) {
|
||||
my @parameter;
|
||||
push @parameter, '-l' if ($::request->{'_disparatetftp'}->[0]);
|
||||
push @parameter, '-l' if ($::XNBA_request->{'_disparatetftp'}->[0]);
|
||||
xCAT::MsgUtils->trace($verbose_on_off, "d", "xnba: issue makedhcp request");
|
||||
|
||||
$sub_req->({ command => ['makedhcp'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user