mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
Merge pull request #86329 from mml/core_pattern
Set core_pattern to an absolute path.
This commit is contained in:
commit
4a62b3ac6d
@ -29,7 +29,7 @@ function setup-os-params {
|
||||
# Reset core_pattern. On GCI, the default core_pattern pipes the core dumps to
|
||||
# /sbin/crash_reporter which is more restrictive in saving crash dumps. So for
|
||||
# now, set a generic core_pattern that users can work with.
|
||||
echo "core.%e.%p.%t" > /proc/sys/kernel/core_pattern
|
||||
echo "/core.%e.%p.%t" > /proc/sys/kernel/core_pattern
|
||||
}
|
||||
|
||||
# secure_random generates a secure random string of bytes. This function accepts
|
||||
|
Loading…
Reference in New Issue
Block a user