-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #289 from cgwalters/generalize-install-config
install: Generalize `root-fs-type` into `install.filesystem.root.type`
- Loading branch information
Showing
5 changed files
with
200 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
% bootc-install-config(5) | ||
|
||
# NAME | ||
|
||
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 two subfields: | ||
|
||
- `filesystem`: See below. | ||
- `kargs`: An array of strings; this will be appended to the set of kernel arguments. | ||
|
||
# filesystem | ||
|
||
There is one valid field: | ||
|
||
- `root`: An instance of "filesystem-root"; see below | ||
|
||
# filesystem-root | ||
|
||
There is one valid field: | ||
|
||
`type`: This can be any basic Linux filesystem with a `mkfs.$fstype`. For example, `ext4`, `xfs`, etc. | ||
|
||
# Examples | ||
|
||
```toml | ||
[install.filesystem.root] | ||
type = "xfs" | ||
[install] | ||
kargs = ["nosmt", "console=tty0"] | ||
``` | ||
|
||
# SEE ALSO | ||
|
||
**bootc(1)** |