Versions in this module Expand all Collapse all v1 v1.3.0 Jan 22, 2024 v1.2.0 Jan 19, 2024 Changes in this version + func WithGrubClearBootEntry(clearBootEntry bool) func(g *Grub) error + func WithGrubDisableBootEntry(disableBootEntry bool) func(g *Grub) error + func WithGrubPrefix(prefix string) func(g *Grub) error + func WithSecureBoot(secureboot bool) func(g *Grub) error + type Grub struct + func NewGrub(cfg *v1.Config, opts ...GrubOptions) *Grub + func (g *Grub) CreateEntry(shimName string, relativeTo string, efiVariables eleefi.Variables) error + func (g *Grub) DoEFIEntries(shimName, efiDir string) error + func (g *Grub) Install(rootDir, bootDir, stateLabel string) (err error) + func (g *Grub) InstallEFI(rootDir, bootDir, efiDir, deviceLabel string) error + func (g *Grub) InstallEFIElementalBinaries(rootDir, efiDir, deviceLabel string) error + func (g *Grub) InstallEFIFallbackBinaries(rootDir, efiDir, deviceLabel string) error + func (g *Grub) SetDefaultEntry(partMountPoint, imgMountPoint, defaultEntry string) error + func (g *Grub) SetPersistentVariables(grubEnvFile string, vars map[string]string) error + func (g Grub) InstallConfig(rootDir, bootDir string) error + type GrubOptions func(g *Grub) error Other modules containing this package github.com/rancher/elemental-toolkit/v2