conf

package
v0.0.0-...-05f81da Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// BundleListFile the file file for the containing the bundle list definition
	BundleListFile = "bundles.json"

	// LogFile is the installation log file name
	LogFile = "clr-installer.log"

	// ConfigFile is the install descriptor
	ConfigFile = "clr-installer.yaml"

	// ChpasswdPAMFile is the chpasswd pam configuration file
	ChpasswdPAMFile = "chpasswd"

	// DefaultConfigDir is the system wide default configuration directory
	DefaultConfigDir = "/usr/share/defaults/clr-installer"

	// CustomConfigDir directory contains custom configuration files
	// i.e per image configuration files
	CustomConfigDir = "/var/lib/clr-installer"

	// OfflineContentDir contains offline installation content
	OfflineContentDir = "/var/lib/clr-installer/offline-content"

	// KernelListFile is the file describing the available kernel bundles
	KernelListFile = "kernels.json"
)

Variables

This section is empty.

Functions

func LookupBundleListFile

func LookupBundleListFile() (string, error)

LookupBundleListFile looks up the bundle list definition Guesses if we're running from source code or from system, if we're running from source code directory then we load the source default file, otherwise tried to load the system installed file

func LookupChpasswdConfig

func LookupChpasswdConfig() (string, error)

LookupChpasswdConfig looks up the chpasswd pam file used in the post install

func LookupDefaultChrootConfig

func LookupDefaultChrootConfig(path string) (string, error)

LookupDefaultChrootConfig looks up config file within the specified chroot

func LookupDefaultChrootKernels

func LookupDefaultChrootKernels(path string) (string, error)

LookupDefaultChrootKernels looks up kernel list definition within the specified chroot

func LookupDefaultConfig

func LookupDefaultConfig() (string, error)

LookupDefaultConfig looks up the install descriptor Guesses if we're running from source code our from system, if we're running from source code directory then we loads the source default file, otherwise tried to load the system installed file

Types

This section is empty.

Jump to

Keyboard shortcuts

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