1
0
mirror of https://github.com/coreos/fedora-coreos-config.git synced 2026-02-05 09:45:30 +01:00
Files
fedora-coreos-config/manifests/fedora-coreos-base.yaml
Dusty Mabe cd12e34d9c manifest/fedora-coreos-base: unconditionalize aarch64 dtb hack
We are now >42 everywhere so let's break it out from being part of
conditional logic.
2026-02-04 13:42:29 -05:00

177 lines
6.6 KiB
YAML

# This file is most of a Fedora CoreOS like system; it inherits from "core".
# Add things in this file which are somewhat "opinionated", not necessarily
# core functionality.
include:
- system-configuration.yaml
- ignition-and-ostree.yaml
- file-transfer.yaml
- networking-tools.yaml
- user-experience.yaml
- shared-el.yaml
- coreos-bootc-delta.yaml
ostree-layers:
- overlay/05core
- overlay/08nouveau
- overlay/09misc
- overlay/20platform-chrony
- overlay/30lvmdevices
conditional-include:
- if: releasever < 44
include:
postprocess:
# Enable SELinux booleans used by OpenShift
# https://github.com/coreos/fedora-coreos-tracker/issues/284
# This definition is no longer used to actually effect change
# in the OpenShift Node images so let's drop it in 44+. The
# config for the OpenShift Node image is now in:
# https://github.com/openshift/os/blob/c96e35987fb1093beb7631f27aecf324ae8a44f5/packages-openshift.yaml#L98-L103
- |
#!/usr/bin/bash
set -eux -o pipefail
setsebool -P -N container_use_cephfs on # RHBZ#1692369
setsebool -P -N virt_use_samba on # RHBZ#1754825
rm -f /etc/selinux/targeted/semanage.*.LOCK
# Be minimal
recommends: false
# ⚠⚠⚠ ONLY TEMPORARY HACKS ALLOWED HERE; ALL ENTRIES NEED TRACKER LINKS ⚠⚠⚠
# See also the version of this in fedora-coreos.yaml
postprocess:
# Mask dnsmasq. We include dnsmasq for host services that use the dnsmasq
# binary but intentionally mask the systemd service so users can't easily
# use it as an external dns server. We prefer they use a container for that.
# https://github.com/coreos/fedora-coreos-tracker/issues/519
- |
#!/usr/bin/bash
set -eux -o pipefail
systemctl mask dnsmasq.service
# sudo prefers its config files to be mode 440, and some security scanners
# complain if /etc/sudoers.d files are world-readable.
# https://bugzilla.redhat.com/show_bug.cgi?id=1981979
# This is added by the 05core overlay listed above.
- |
#!/usr/bin/env bash
set -xeuo pipefail
chmod 440 /etc/sudoers.d/coreos-sudo-group
# Set the default systemd target to `multi-user.target`.
- |
#!/usr/bin/env bash
set -xeuo pipefail
ln -sf multi-user.target /usr/lib/systemd/system/default.target
# Add the sudo group to /etc/group in container-native flow.
- |
#!/usr/bin/env bash
set -xeuo pipefail
if [ -f /run/.containerenv ]; then
grep sudo /usr/lib/group >> /etc/group
fi
# Hack to avoid running out of space on aarch64. This should save us about 29M.
# https://github.com/coreos/fedora-coreos-tracker/issues/2004
- |
#!/usr/bin/env bash
set -eux -o pipefail
rm -vrf /usr/lib/modules/*aarch64/dtb/qcom/
# Packages listed here should be specific to Fedore CoreOS (as in not yet
# available in RHCOS or not desired in RHCOS). All other packages should go
# into one of the sub-manifests listed at the top.
packages:
# Security
- polkit
# Containers
- systemd-container catatonit
- fuse-overlayfs slirp4netns
# Some host applications(i.e. NetworkManager) use dnsmasq
# as the binary for some various utility operations.
# https://github.com/coreos/fedora-coreos-tracker/issues/519
- dnsmasq
# For podman v4 netavark gets pulled in but it only recommends
# aardvark-dns (which provides name resolution based on container
# names). This functionality was previously provided by dnsname from
# podman-plugins in the podman v3 stack.
# See https://github.com/containers/netavark/pull/217
- aardvark-dns
# Since we need `containernetworking-plugins` installed to continue
# to support CNI networks we need to also explicitly install
# `netavark` so we get both of them installed since both of them
# provide `container-network-stack`.
# https://github.com/coreos/fedora-coreos-tracker/issues/1128#issuecomment-1071458717
- netavark
# Active Directory support
- adcli
# Additional firewall support; we aren't including these in RHCOS or they
# don't exist in RHEL
- iptables-nft iptables-services
# WireGuard https://github.com/coreos/fedora-coreos-tracker/issues/362
- wireguard-tools
# Storage
- btrfs-progs
# Allow communication between sudo and SSSD
# for caching sudo rules by SSSD.
# https://github.com/coreos/fedora-coreos-tracker/issues/445
- libsss_sudo
# SSSD; we only ship a subset of the backends
- sssd-client sssd-ad sssd-ipa sssd-krb5 sssd-ldap
# Used by admins interactively
- attr
- openssl
# Provides terminal tools like clear, reset, tput, and tset
- ncurses
# file-transfer: note fuse-sshfs is not in RHEL
# so we can't put it in file-transfer.yaml
- fuse-sshfs
# Improved MOTD experience
- console-login-helper-messages-motdgen
# i18n
- kbd
# NIC firmware we've traditionally shipped but then were split out of linux-firmware in Fedora
- qed-firmware # https://github.com/coreos/fedora-coreos-tracker/issues/1746
# - irqbalance
# - This thing is crying out to be pulled into systemd, but that hasn't happened
# yet. Also we may want to add to rpm-ostree something like arch negation;
# basically right now it doesn't exist on s390x.
# Anyways, it was requested by the Red Hat perf team for RHCOS, so we have it here.
# https://serverfault.com/questions/513807/is-there-still-a-use-for-irqbalance-on-modern-hardware
# https://access.redhat.com/solutions/41535
# - qemu-user-static-x86
# - Include this on non-x86_64 FCOS images to allow access to the large
# inventory of containers only built for x86_64.
# https://github.com/coreos/fedora-coreos-tracker/issues/1237
# - google-compute-engine-guest-configs-udev
# - Add this package on x86_64 and aarch64 (the two architectures
# GCP supports. https://github.com/coreos/fedora-coreos-tracker/issues/1494
# This should be moved to a shared manifest when RHEL has this package.
# - crun-wasm wasmedge-rt
# - Support for wasm runtime: https://github.com/coreos/fedora-coreos-tracker/issues/1375
packages-x86_64:
- irqbalance
- google-compute-engine-guest-configs-udev
- crun-wasm wasmedge-rt
# Include AMD microcode updates, see https://github.com/coreos/fedora-coreos-tracker/issues/1618.
# This normally should belong in bootable-rpm-ostree.yaml (alongside
# `microcode_ctl`), but this change hasn't hit RHCOS yet.
- amd-ucode-firmware
packages-ppc64le:
- irqbalance
- librtas
- powerpc-utils-core
- ppc64-diag-rtas
- qemu-user-static-x86
packages-aarch64:
- irqbalance
- qemu-user-static-x86
- google-compute-engine-guest-configs-udev
- crun-wasm wasmedge-rt
packages-s390x:
- qemu-user-static-x86