-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
manifests: Merge common-el9.yaml into common.yaml
- Loading branch information
Showing
4 changed files
with
40 additions
and
54 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +0,0 @@ | ||
# Manifest shared between CentOS Stream 9 and RHEL 9 variants | ||
|
||
include: | ||
- fedora-coreos-config/manifests/shared-el9.yaml | ||
|
||
# EL9 specific overlays | ||
ostree-layers: | ||
- overlay/07el9 | ||
|
||
postprocess: | ||
# Collection of workarounds specific to EL9 variants | ||
- | | ||
#!/usr/bin/env bash | ||
set -xeo pipefail | ||
# FIXME: Why is this only broken here? NM isn't removing the link? | ||
sed -i '/etc.resolv/d' /usr/lib/tmpfiles.d/etc.conf | ||
# crio should stop hardcoding things in their config file! | ||
# We are apparently somehow pulling in a conmon override in RHCOS | ||
# that contains /usr/libexec/crio/conmon - WHY? | ||
# sed -i '/conmon.*=/d' /etc/crio/crio.conf | ||
# Oh right but the MCO overrides that too so... | ||
mkdir -p /usr/libexec/crio | ||
ln -sr /usr/bin/conmon /usr/libexec/crio/conmon | ||
# Enable tmp-on-tmpfs by default because we don't want to have things leak | ||
# across reboots, it increases alignment with FCOS, and also fixes the | ||
# Live ISO. First, verify that RHEL is still disabling. | ||
grep -q '# RHEL-only: Disable /tmp on tmpfs' /usr/lib/systemd/system/basic.target | ||
echo '# RHCOS-only: we follow the Fedora/upstream default' >> /usr/lib/systemd/system/basic.target | ||
echo 'Wants=tmp.mount' >> /usr/lib/systemd/system/basic.target | ||
- | | ||
#!/usr/bin/env bash | ||
set -xeo pipefail | ||
# See https://issues.redhat.com/browse/LOG-3117 | ||
# Something changed between rhel8 and rhel9 to not generate this by default | ||
# but we have containers that expect it to be mounted so for now let's continue | ||
# generating it. | ||
ln -sr /usr/share/zoneinfo/UTC /etc/localtime | ||
- | | ||
#!/usr/bin/env bash | ||
set -xeuo pipefail | ||
# Backport https://github.com/dracutdevs/dracut/commit/25a92885a9519701cc480298c2b082e2e2bf5ebe | ||
s=/usr/lib/dracut/modules.d/95nvmf/nvmf-autoconnect.sh | ||
if test -f "$s"; then | ||
chmod a+x "$s" | ||
fi | ||
# Packages that are only for SCOS & RHCOS 9 | ||
packages: | ||
- openvswitch3.1 | ||
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