Skip to content

pixiecore quick xyz is legacy BIOS only by default? #131

Description

@dnwe

Not a big issue, but I happened to notice that the quick cmd for serving up netboot.xyz is hardcoded to serve the legacy bios kernel image even to uefi clients which fails to boot iPXE with an exec format error (as you'd expect)

Switching the hardcoded location to a uefi image does work fine, so it's an easy workaround, but I thought I'd report it incase there was something neater we could do here:

diff --git a/pixiecore/cli/quickcmd.go b/pixiecore/cli/quickcmd.go
index 883195e..3360d0a 100644
--- a/pixiecore/cli/quickcmd.go
+++ b/pixiecore/cli/quickcmd.go
@@ -302,7 +302,7 @@ func netbootRecipe(parent *cobra.Command) {
                Long: `https://network.xyz allows to boot multiple operating
        systems and useful system utilities.`,
                Run: func(cmd *cobra.Command, args []string) {
-                       kernel := "https://boot.netboot.xyz/ipxe/netboot.xyz.lkrn"
+                       kernel := "https://boot.netboot.xyz/ipxe/netboot.xyz.efi"
                        fmt.Println(staticFromFlags(cmd, kernel, []string{}, "").Serve())
                },
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions