netboot

package
v0.0.0-...-ba47a78 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2020 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

Package netboot provides a one-stop shop for netboot parsing needs.

netboot can take a URL from a DHCP lease and try to detect iPXE scripts and PXE scripts.

TODO: detect multiboot and Linux kernels without configuration (URL points to a single kernel file).

TODO: detect iSCSI root paths.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BootImage

func BootImage(s curl.Schemes, lease dhclient.Lease) (*boot.LinuxImage, error)

BootImage figures out the image to boot from the given DHCP lease.

Tries, in order:

- to detect an iPXE script beginning with #!ipxe,

  • to detect a pxelinux.0, in which case we will ignore the pxelinux and try to parse pxelinux.cfg/<files>.

TODO: detect straight up multiboot and bzImage Linux kernel files rather than just configuration scripts.

Types

This section is empty.

Directories

Path Synopsis
Package ipxe implements a trivial IPXE config file parser.
Package ipxe implements a trivial IPXE config file parser.
Package pxe implements the PXE config file parsing.
Package pxe implements the PXE config file parsing.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL