Only set default filesystem to XFS in CentOS

Fedora default filesystem is a messier situation.  This makes
it easier to inherit Fedora builds.

Signed-off-by: Colin Walters <walters@verbum.org>
This commit is contained in:
Colin Walters 2024-04-18 17:08:07 -04:00
parent eb71457f6f
commit cfafc9e78a
5 changed files with 18 additions and 17 deletions

View File

@ -2,6 +2,5 @@ releasever: stream10
variables: variables:
distro: "stream10" distro: "stream10"
repos: include:
- baseos - centos-stream-common.yaml
- appstream

View File

@ -2,6 +2,5 @@ releasever: stream9
variables: variables:
distro: "stream9" distro: "stream9"
repos: include:
- baseos - centos-stream-common.yaml
- appstream

14
centos-stream-common.yaml Normal file
View File

@ -0,0 +1,14 @@
repos:
- baseos
- appstream
# Configuration for bootc
postprocess:
# XFS is our default filesystem
- |
#!/usr/bin/env bash
mkdir -p /usr/lib/bootc/install/
cat > /usr/lib/bootc/install/20-rhel.toml << EOF
[install]
root-fs-type = "xfs"
EOF

View File

@ -1,10 +0,0 @@
# Configuration for bootc
postprocess:
# XFS is our default filesystem
- |
#!/usr/bin/env bash
mkdir -p /usr/lib/bootc/install/
cat > /usr/lib/bootc/install/20-rhel.toml << EOF
[install]
root-fs-type = "xfs"
EOF

View File

@ -51,7 +51,6 @@ remove-from-packages:
include: include:
- bootc.yaml - bootc.yaml
- ostree.yaml - ostree.yaml
- bootc-config.yaml
- initramfs.yaml - initramfs.yaml
- autoupdates.yaml - autoupdates.yaml
- basic-fixes.yaml - basic-fixes.yaml