forked from openshift/os
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request openshift#424 from jlebon/pr/kdump-disabled
tests/kola/misc-ro: backport kdump.service test
- Loading branch information
Showing
2 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"ignition": { | ||
"version": "3.2.0-experimental" | ||
"version": "3.2.0" | ||
}, | ||
"storage": { | ||
"luks": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,6 +50,13 @@ if [ "$(systemctl is-enabled [email protected])" = enabled ]; then | |
fi | ||
echo "ok afterburn-sshkeys@ is disabled" | ||
|
||
# Make sure that kdump didn't start (it's either disabled, or enabled but | ||
# conditional on crashkernel= karg, which we don't bake). | ||
if ! systemctl show -p ActiveState kdump.service | grep -q ActiveState=inactive; then | ||
fatal "Unit kdump.service shouldn't be active" | ||
fi | ||
echo "ok kdump.service not active" | ||
|
||
test -d /etc/yum.repos.d | ||
echo "ok have /etc/yum.repos.d" | ||
|
||
|