-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
CoreSMD ignores machine booting with HTTP boot instead of UEFI target.
To Reproduce
Steps to reproduce the behavior:
- Set
HTTP bootasCurrent One-Time Boot option - Power on the machine
- Read coresmd logs
This error message wills appear:
no iPXE bootloader available for unknown architecture: 16 (EFI x86-64 boot from HTTP)
Expected behavior
The user could use HTTP boot, and coreSMD should know how to handle this.
Additional context
From ipxe.go
The error message comes from here
default:
l.Errorf("no iPXE bootloader available for unknown architecture: %d (%s)", carch, carch.String())
return resp, falseFrom archtype.go
EFI_X86_64_HTTP Arch = 16If EFI_X86_64 and EFI_X86_64_HTTP aren't different, we can add to case switch in ipxe.go:
case iana.EFI_X86_64, iana.EFI_X86_64_HTTP:
// iPXE 64-bit x86 bootloader
resp.Options.Update(dhcpv4.OptBootFileName("ipxe-x86_64.efi"))
return resp, trueMetadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working