Skip to main content

max / alloy

1.1 KB · 24 lines History Blame Raw
1 # Alloy bootc install configuration.
2 #
3 # Declares the root filesystem type used when the image is installed
4 # to disk. Without this, bootc-image-builder fails with
5 # "missing required info: DefaultRootFs" and any consumer has to pass
6 # --rootfs on the CLI. xfs matches Fedora bootc's own default.
7
8 [install]
9 # Which to-disk backends this image permits. Unset means `direct` alone, and
10 # `bootc install --block-setup tpm2-luks` then fails with "tpm2-luks not
11 # enabled in installation config" — which is what every encrypted install did
12 # until this line existed, on hardware with a perfectly good TPM. The
13 # installer offers encryption on step 4 and defaults it to on, so the whole
14 # encrypted path was unreachable.
15 #
16 # Order is load-bearing: bootc takes the FIRST entry as the default for an
17 # install that passes no --block-setup, and the installer passes the flag only
18 # when the user asked for encryption. `direct` must therefore stay first, or
19 # declining encryption would silently produce an encrypted disk.
20 block = ["direct", "tpm2-luks"]
21
22 [install.filesystem.root]
23 type = "xfs"
24