options

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: MPL-2.0 Imports: 2 Imported by: 0

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
}

BootAssets describes the assets to be installed by the booloader.

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

	// Boot assets to install.
	BootAssets BootAssets

	// Printf-like function to use.
	Printf func(format string, v ...any)
}

InstallOptions configures bootloader installation.

Jump to

Keyboard shortcuts

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