Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GeneratorConfig ¶
type GeneratorConfig struct {
Network *NetworkConfig `yaml:",omitempty"`
Universal bool `yaml:",omitempty"`
Modules string `yaml:",omitempty"`
ModulesForceLoad string `yaml:"modules_force_load,omitempty"` // comma separated list of extra modules to load at the boot time
Compression string `yaml:",omitempty"`
MountTimeout string `yaml:"mount_timeout,omitempty"`
AppendAllModAliases bool `yaml:"append_all_modaliases,omitempty"`
ExtraFiles string `yaml:"extra_files,omitempty"`
StripBinaries bool `yaml:"strip,omitempty"` // strip symbols from the binaries, shared libraries and kernel modules
EnableVirtualConsole bool `yaml:"vconsole,omitempty"`
EnableLVM bool `yaml:"enable_lvm"`
EnableMdraid bool `yaml:"enable_mdraid"`
MdraidConfigPath string `yaml:"mdraid_config_path"`
EnableZfs bool `yaml:"enable_zfs"`
ZfsImportParams string `yaml:"zfs_import_params"`
ZfsCachePath string `yaml:"zfs_cache_path"`
EnableFido2 bool `yaml:"enable_fido2"`
}
type NetworkConfig ¶
type NetworkConfig struct {
Interfaces string `yaml:",omitempty"` // comma-separated list of interfaces to initialize at early-userspace
Dhcp bool `yaml:",omitempty"`
IP string `yaml:",omitempty"` // e.g. 10.0.2.15/24
Gateway string `yaml:",omitempty"` // e.g. 10.0.2.255
DNSServers string `yaml:"dns_servers,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.