Skip to content

Commit

Permalink
Merge pull request #1632 from jbtrystram/kdump-remote-cryptroot
Browse files Browse the repository at this point in the history
OCPBUGS-43040: overlay.d/05rhcos: Neuter coreos-luks-open for remote kdump
  • Loading branch information
openshift-merge-bot[bot] authored Oct 10, 2024
2 parents 5371057 + 96c24cc commit 2da4163
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ add_requires() {
ln -sf "../${name}" "${requires_dir}/${name}"
}

# We don't need to mount the local disk if we are in the kdump initramfs
# and kdump is configured to export the logs to a remote target
# See https://issues.redhat.com/browse/OCPBUGS-42351
# Also see https://github.com/coreos/fedora-coreos-config/commit/8ced0db61f23a9b59ef096317fb6fc225bfba133
if getargbool 0 'kdump_remote_ip'; then
exit 0
fi

# In 4.4+, we only activate if rhcos.root=crypt_rootfs as set on the
# kernel cmdline by image.yaml. This will allow us to go back
# to matching FCOS and supporting full rootfs reprovisioning.
Expand Down

0 comments on commit 2da4163

Please sign in to comment.