Documentation ¶
Overview ¶
Package options provides bootloader options.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BootAssets ¶
type BootAssets struct { KernelPath string InitramfsPath string UKIPath string SDBootPath string DTBPath string UBootPath string RPiFirmwarePath string }
BootAssets describes the assets to be installed by the bootloader.
func (*BootAssets) FillDefaults ¶
func (assets *BootAssets) FillDefaults(arch string)
FillDefaults fills in default paths to be used when in the context of the installer.
type InstallOptions ¶
type InstallOptions struct { // The disk to install to. BootDisk string // Target architecture. Arch string // Kernel command line (grub only). Cmdline string // Talos version. Version string // Are we running in image mode? ImageMode bool // Mount prefix for /boot-like partitions. MountPrefix string // Boot assets to install. BootAssets BootAssets // ExtraInstallStep is a function to run after the bootloader is installed. ExtraInstallStep func() error // Printf-like function to use. Printf func(format string, v ...any) // Optional: blkid probe result. BlkidInfo *blkid.Info }
InstallOptions configures bootloader installation.
type InstallResult ¶ added in v1.8.0
type InstallResult struct { // Previous label (if upgrading). PreviousLabel string }
InstallResult is the result of the installation.
type ProbeOptions ¶ added in v1.8.0
type ProbeOptions struct {
BlockProbeOptions []blkid.ProbeOption
}
ProbeOptions configures bootloader probing.
Click to show internal directories.
Click to hide internal directories.