Documentation ¶
Index ¶
Constants ¶
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 ¶
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 ¶
LookupChpasswdConfig looks up the chpasswd pam file used in the post install
func LookupDefaultChrootConfig ¶
LookupDefaultChrootConfig looks up config file within the specified chroot
func LookupDefaultChrootKernels ¶
LookupDefaultChrootKernels looks up kernel list definition within the specified chroot
func LookupDefaultConfig ¶
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.