bootc-install-config - Man Page

bootc-install-config.toml

Description

The bootc install process supports some basic customization.  This configuration file is in TOML format, and will be discovered by the installation process in via "drop-in" files in /usr/lib/bootc/install that are processed in alphanumerical order.

The individual files are merged into a single final installation config, so it is supported for e.g. a container base image to provide a default root filesystem type, that can be overridden in a derived container image.

install

This is the only defined toplevel table.

The install section supports these subfields:

filesystem

There is one valid field:

filesystem-root

There is one valid field:

type: This can be any basic Linux filesystem with a mkfs.$fstype.  For example, ext4, xfs, etc.

ostree

Configuration options for the ostree repository. There is one valid field:

bootupd

Configuration options for bootupd, responsible of setting up the bootloader. There is only one valid field: - skip-boot-uuid: A boolean that controls whether to skip writing partition UUIDs
  to the bootloader configuration. When true, bootupd is invoked with --with-static-configs
  instead of --write-uuid. Defaults to false (UUIDs are written by default).

Examples

[install.filesystem.root]
type = "xfs"

[install]
kargs = ["nosmt", "console=tty0"]
stateroot = "myos"
root-mount-spec = "LABEL=rootfs"
boot-mount-spec = "UUID=abcd-1234"
enforce-container-sigpolicy = true

[install.ostree]
bls-append-except-default = 'grub_users=""'

Enable DPS auto-discovery for root (requires a BLI-capable bootloader):

[install]
discoverable-partitions = true

See Also

bootc(1)

Version

v1.15.2

Referenced By

bootc-install-to-disk(8).