Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCPBUGS-43079: [release-4.17] overlay.d/05rhcos: Neuter coreos-luks-open for remote kdump #1634

Open
wants to merge 1 commit into
base: release-4.17
Choose a base branch
from
Open
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
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