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 // Printf-like function to use. Printf func(format string, v ...any) }
InstallOptions configures bootloader installation.
Click to show internal directories.
Click to hide internal directories.