install

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyWithFsync

func CopyWithFsync(src, dst string)

CopyWithFsync copies a file from src to dst with fsync after each write.

func ExtractContainerLayers

func ExtractContainerLayers(layers []io.ReadCloser, destDir string) error

ExtractContainerLayers extracts container image layers to a directory. This is exported for use by sources that need to extract containers.

func FakeCert

func FakeCert() string

FakeCert generates a fake certificate for installer.

func MountBind

func MountBind(src, dst string)

MountBind performs a bind mount.

func MountBindRecursive

func MountBindRecursive(src, dst string)

MountBindRecursive performs a recursive bind mount.

func OverrideCmdline

func OverrideCmdline(root, content string)

OverrideCmdline overrides /proc/cmdline in a chroot environment.

func RunInstallMode

func RunInstallMode(source types.ImageSource, disk string, extraArgs []string, sizeGiB uint64)

RunInstallMode executes install mode: extracts image, runs installer, copies to disk.

func SetupLoop

func SetupLoop(path string) (string, *os.File)

SetupLoop sets up a loop device for the given file path. Returns the loop device path and the file handle.

Types

This section is empty.

Jump to

Keyboard shortcuts

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