Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added afterburn-5.11.0-0.dev.pr1251.el9.x86_64.rpm
Binary file not shown.
10 changes: 10 additions & 0 deletions build-node-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,16 @@ mkdir -p /var/opt
rpm-ostree experimental compose treefile-apply \
--var "osversion=${ID}-${VERSION_ID}" /run/src/packages-openshift.yaml

# --- DNM / PoC (coreos/afterburn#1251): replace afterburn with a prebuilt el9 RPM of
# afterburn main, which includes "kubevirt: Support static gateway and DNS with DHCP".
# (The @CoreOS/continuous COPR EL9/EL10 builds are currently broken, so the RPM is
# vendored in this PR and bind-mounted at /run/src.) `override replace` swaps the base
# afterburn, and the compose regenerates the initramfs, so the patched binary lands in
# the initrd where afterburn-network-kargs runs. x86_64-only PoC.
if [ "$(uname -m)" = x86_64 ]; then
rpm-ostree override replace /run/src/afterburn-5.11.0-0.dev.pr1251.el9.x86_64.rpm
fi

# cleanup any repo files we injected
rm -f /etc/yum.repos.d/{ocp,git,okd}.repo

Expand Down