always enable network interface

This commit is contained in:
Trevor Cooper 2021-08-14 22:11:53 -07:00
parent eef2beb027
commit c90b72f365
21 changed files with 205 additions and 0 deletions

View File

@ -171,6 +171,10 @@ sub load_install_tests() {
if (get_var('ANACONDA_STATIC')) {
autotest::loadtest "tests/_anaconda_network_static.pm";
}
else {
autotest::loadtest "tests/_anaconda_network_enable.pm";
}
## Installation source
if (get_var('MIRRORLIST_GRAPHICAL') || get_var("REPOSITORY_GRAPHICAL")) {

View File

@ -0,0 +1,16 @@
{
"area": [
{
"width": 35,
"xpos": 806,
"type": "match",
"ypos": 327,
"height": 18
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"anaconda_network_address_add"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

View File

@ -0,0 +1,27 @@
{
"area": [
{
"xpos": 595,
"ypos": 133,
"width": 83,
"height": 17,
"type": "match"
},
{
"xpos": 909,
"ypos": 114,
"width": 69,
"height": 17,
"type": "match",
"click_point": {
"xpos": 17.5,
"ypos": 7.5
}
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"anaconda_network_connect"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"ypos": 133,
"type": "match",
"xpos": 576,
"width": 66,
"height": 17
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"anaconda_network_connected"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"height": 17,
"width": 89,
"xpos": 635,
"type": "match",
"ypos": 205
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"anaconda_network_ipv4"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"height": 15,
"xpos": 155,
"type": "match",
"width": 342,
"ypos": 255
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"anaconda_network_method"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"height": 16,
"width": 52,
"type": "match",
"xpos": 223,
"ypos": 312
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"anaconda_network_method_manual"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"height": 19,
"ypos": 619,
"width": 74,
"xpos": 901,
"type": "match"
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"anaconda_network_configure"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"height": 34,
"width": 34,
"type": "match",
"xpos": 721,
"ypos": 340
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"anaconda_main_hub_network_host_name"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"height": 34,
"ypos": 340,
"width": 34,
"xpos": 721,
"type": "match"
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"anaconda_main_hub_network_host_name"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

View File

@ -0,0 +1,45 @@
use base "anacondatest";
use strict;
use testapi;
use utils;
use tapnet;
sub run {
my $self = shift;
assert_and_click "anaconda_main_hub_network_host_name";
#add the stuff here to click the connected button
assert_and_click "anaconda_network_configure";
#assert_and_click "anaconda_network_ipv4";
#assert_and_click "anaconda_network_method";
#assert_and_click "anaconda_network_method_manual";
#assert_and_click "anaconda_network_address_add";
#type_safely get_var('ANACONDA_STATIC');
## netmask is automatically set
#type_safely "\t\t";
## assume gateway
#type_safely "172.16.2.2";
## move to DNS servers
#type_safely "\n\t\t\t";
## set DNS from host
#type_safely join(',', get_host_dns());
#type_safely "\t\t\t\t\t\n";
## can take a bit of time as it seems to wait for all the pending
## DHCP requests to time out before applying the static config
assert_screen "anaconda_network_connected", 90;
assert_and_click "anaconda_spoke_done";
}
sub test_flags {
return { fatal => 1 };
}
1;
# vim: set sw=4 et:

View File

@ -22,6 +22,7 @@ sub run {
# set DNS from host
type_safely join(',', get_host_dns());
type_safely "\t\t\t\t\t\n";
assert_and_click "anaconda_network_connect";
# can take a bit of time as it seems to wait for all the pending
# DHCP requests to time out before applying the static config
assert_screen "anaconda_network_connected", 90;