baseConfig type
This is a preview feature.
Its API and behavior is subject to change.
You must enable this feature by specifying base-configs in the
previewFeatures API.
Defines a single configuration file to inherit from.
BaseConfigs specifies a list of base configuration files to inherit from. When multiple base configs are specified, fields are resolved in order — Fields from later configurations override or extend those from earlier ones, or are processed sequentially.
The operation ordering applies globally, not
per config file. That is, the config files are interlaced (and merged), not processed
sequentially. If you want to process the config files sequentially, then run Image
Customizer multiple times instead of using the baseConfigs API.
The current(last) config’s value (if specified) overrides all base configs.
.input.image.path.output.image.path.output.image.cosi.compression.level.output.image.format.output.artifacts.path.os.hostname.os.imageHistory.os.selinux.os.uki.iso.initramfsType.iso.kdumpBootFiles.pxe.initramfsType.pxe.kdumpBootFiles
Base config items are merged with current config’s items.
.output.artifacts.items.os.kernelCommandLine.iso.kernelCommandLine.pxe.kernelCommandLine
Base config items are processed first, followed by current config’s.
.os.users.os.groups.os.services.os.packages(If .os.packages.snapshotTime is specified, it is applied per-config).os.modules.os.additionalFiles.os.additionalDirs.os.overlays.iso.additionalFiles.pxe.additionalFiles.scripts.postCustomization.scripts.finalizeCustomization
Pick the strongest option from the base config and current config.
-
.os.bootLoader.resetTypeThe option ordering, from strongest to weakest: -
"hard-reset"-""(i.e. no reset)
Only supported in the top-level config.
.storage
path [string]
Required.
A file path to the base config file. The path can be either relative or absolute. Relative paths are resolved relative to the parent directory of the current config file.
Example:
baseConfigs:
- path: ./base-config.yaml
- path: /absolute/path/to/base-config.yaml
Added in v1.1.