Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CERN CentOS functional tests
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
linuxsupport
Testing
CERN CentOS functional tests
Merge requests
!6
Make sure crashkernel=auto is not used in el9
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Make sure crashkernel=auto is not used in el9
el9_crashkernel
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Daniel Juarez Gonzalez
requested to merge
el9_crashkernel
into
master
3 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
a89fc7c4
1 commit,
3 years ago
1 file
+
9
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
tests/cern_partitioning/5_grub.sh
+
9
−
0
Options
@@ -7,6 +7,15 @@ t_Log "Running $0 - Checking default grub parameters"
t_Log
"Looking for crashkernel in /etc/default/grub"
grep
-e
'GRUB_CMDLINE_LINUX=".*crashkernel.*'
/etc/default/grub
t_CheckExitStatus
$?
# el9 onwards cannot use crashkernel=auto
# Ref. https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9-beta/html/managing_monitoring_and_updating_the_kernel/configuring-kdump-on-the-command-line_managing-monitoring-and-updating-the-kernel
if
[
"
$centos_ver
"
-ge
9
]
;
then
t_Log
"Making sure crashkernel=auto is not in /etc/default/grub"
!
grep
-e
'GRUB_CMDLINE_LINUX=".*crashkernel=auto.*'
/etc/default/grub
t_CheckExitStatus
$?
fi
t_Log
"Looking for crashkernel in /proc/cmdline"
grep
-e
'crashkernel'
/proc/cmdline
t_CheckExitStatus
$?
Loading