Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions crates/api-core/src/ipxe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,7 @@ exit ||
// use:
// - If we don't have an exploration report for this MAC address, don't PXE boot at all
// - If it's X86 and we have an exploration report, assume it's a Host.
// - If it's ARM and we have an exploration report, check if the report has a
// BlueField part number.
// - If it's ARM, only treat it as a DPU when the explored endpoint is itself a DPU BMC.
let Some(endpoint) =
db::explored_endpoints::find_by_mac_address(&mut *txn, interface.mac_address)
.await?
Expand All @@ -370,7 +369,7 @@ exit ||
let (machine_type, console) = match target.arch {
rpc::MachineArchitecture::X86 => (MachineType::PredictedHost, console),
rpc::MachineArchitecture::Arm => {
if endpoint.has_bluefield_part_number() {
if endpoint.report.is_dpu() {
(MachineType::Dpu, console)
} else {
(MachineType::PredictedHost, "ttyAMA0")
Expand Down
Loading