Documentation
¶
Overview ¶
Package iso contains functions for creating ISO images.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExecutorOptions ¶
ExecutorOptions defines the iso generation options.
func (*ExecutorOptions) Generate ¶
func (e *ExecutorOptions) Generate() error
Generate creates an ISO image.
type Generator ¶
type Generator interface {
Generate() error
}
Generator is an interface for executing the iso generation.
type Options ¶
type Options struct { KernelPath string InitramfsPath string Cmdline string UKIPath string SDBootPath string Arch string Version string // A value in loader.conf secure-boot-enroll: off, manual, if-safe, force. SDBootSecureBootEnrollKeys string // UKISigningCertDer is the DER encoded UKI signing certificate. UKISigningCertDerPath string // optional, for auto-enrolling secureboot keys PlatformKeyPath string KeyExchangeKeyPath string SignatureKeyPath string ScratchDir string OutPath string }
Options describe the input generating different types of ISOs.
func (Options) CreateGRUB ¶
CreateGRUB creates a GRUB-based ISO image.
This iso supports both BIOS and UEFI booting.
func (Options) CreateHybrid ¶
CreateHybrid creates an ISO image that supports both BIOS and UEFI booting.
type UEFIOptions ¶
type UEFIOptions struct { UKIPath string SDBootPath string // A value in loader.conf secure-boot-enroll: off, manual, if-safe, force. SDBootSecureBootEnrollKeys string // UKISigningCertDer is the DER encoded UKI signing certificate. UKISigningCertDerPath string // optional, for auto-enrolling secureboot keys PlatformKeyPath string KeyExchangeKeyPath string SignatureKeyPath string Arch string Version string ScratchDir string OutPath string }
UEFIOptions describe the input for the CreateUEFI function.
Click to show internal directories.
Click to hide internal directories.