support enable and disable of kdump
This commit is contained in:
parent
c90b72f365
commit
5f3d7dafd7
7
main.pm
7
main.pm
@ -175,6 +175,13 @@ sub load_install_tests() {
|
||||
autotest::loadtest "tests/_anaconda_network_enable.pm";
|
||||
}
|
||||
|
||||
## Kdump
|
||||
if (get_var('ANACONDA_KDUMP') eq 'enabled') {
|
||||
autotest::loadtest "tests/_anaconda_kdump_enable.pm";
|
||||
}
|
||||
else {
|
||||
autotest::loadtest "tests/_anaconda_kdump_disable.pm";
|
||||
}
|
||||
|
||||
## Installation source
|
||||
if (get_var('MIRRORLIST_GRAPHICAL') || get_var("REPOSITORY_GRAPHICAL")) {
|
||||
|
20
needles/kdump/rocky-anaconda_kdump_disable-20210813.json
Normal file
20
needles/kdump/rocky-anaconda_kdump_disable-20210813.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 10,
|
||||
"ypos": 130,
|
||||
"width": 111,
|
||||
"height": 26,
|
||||
"type": "match",
|
||||
"click_point": {
|
||||
"xpos": 12.5,
|
||||
"ypos": 13
|
||||
}
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"ENV-DISTRI-rocky",
|
||||
"anaconda_kdump_disable"
|
||||
]
|
||||
}
|
BIN
needles/kdump/rocky-anaconda_kdump_disable-20210813.png
Normal file
BIN
needles/kdump/rocky-anaconda_kdump_disable-20210813.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
16
needles/kdump/rocky-anaconda_kdump_disabled-20210813.json
Normal file
16
needles/kdump/rocky-anaconda_kdump_disabled-20210813.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 15,
|
||||
"ypos": 136,
|
||||
"width": 106,
|
||||
"height": 17,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"ENV-DISTRI-rocky",
|
||||
"anaconda_kdump_disabled"
|
||||
]
|
||||
}
|
BIN
needles/kdump/rocky-anaconda_kdump_disabled-20210813.png
Normal file
BIN
needles/kdump/rocky-anaconda_kdump_disabled-20210813.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
20
needles/kdump/rocky-anaconda_kdump_enable-20210813.json
Normal file
20
needles/kdump/rocky-anaconda_kdump_enable-20210813.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 10,
|
||||
"ypos": 130,
|
||||
"width": 111,
|
||||
"height": 26,
|
||||
"type": "match",
|
||||
"click_point": {
|
||||
"xpos": 12.5,
|
||||
"ypos": 13
|
||||
}
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"ENV-DISTRI-rocky",
|
||||
"anaconda_kdump_enable"
|
||||
]
|
||||
}
|
BIN
needles/kdump/rocky-anaconda_kdump_enable-20210813.png
Normal file
BIN
needles/kdump/rocky-anaconda_kdump_enable-20210813.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
16
needles/kdump/rocky-anaconda_main_hub_kdump-20210813.json
Normal file
16
needles/kdump/rocky-anaconda_main_hub_kdump-20210813.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 719,
|
||||
"ypos": 265,
|
||||
"width": 16,
|
||||
"height": 43,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"ENV-DISTRI-rocky",
|
||||
"anaconda_main_hub_kdump"
|
||||
]
|
||||
}
|
BIN
needles/kdump/rocky-anaconda_main_hub_kdump-20210813.png
Normal file
BIN
needles/kdump/rocky-anaconda_main_hub_kdump-20210813.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 53 KiB |
21
tests/_anaconda_kdump_disable.pm
Normal file
21
tests/_anaconda_kdump_disable.pm
Normal file
@ -0,0 +1,21 @@
|
||||
use base "anacondatest";
|
||||
use strict;
|
||||
use testapi;
|
||||
use utils;
|
||||
use tapnet;
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
assert_and_click "anaconda_main_hub_kdump";
|
||||
assert_and_click "anaconda_kdump_disable";
|
||||
assert_screen "anaconda_kdump_disabled", 90;
|
||||
assert_and_click "anaconda_spoke_done";
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
return { fatal => 1 };
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
# vim: set sw=4 et:
|
21
tests/_anaconda_kdump_enable.pm
Normal file
21
tests/_anaconda_kdump_enable.pm
Normal file
@ -0,0 +1,21 @@
|
||||
use base "anacondatest";
|
||||
use strict;
|
||||
use testapi;
|
||||
use utils;
|
||||
use tapnet;
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
assert_and_click "anaconda_main_hub_kdump";
|
||||
assert_and_click "anaconda_kdump_enable";
|
||||
assert_screen "anaconda_kdump_enabled", 90;
|
||||
assert_and_click "anaconda_spoke_done";
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
return { fatal => 1 };
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
# vim: set sw=4 et:
|
Loading…
Reference in New Issue
Block a user