mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-25 14:41:27 +00:00
Trevor Cooper
33dd37fdea
- updated configuration for boot-iso in templates.fif.json. NOTE: If you provide GRUB="value" during POST you must include "ip=dhcp" along with your custom GRUB settings. - short circuit _anaconda_network_enable.pm to check for connection at start of test. - provide needle to detect connected network interface using Network Spoke icon instead of Installation Source text. NOTE: While not required with minimal-iso or dvd-iso flavors specifying GRUB="ip=dhcp" will also connect the network interface at boot and bypass _anaconda_network_enable.
31 lines
599 B
Perl
31 lines
599 B
Perl
use base "anacondatest";
|
|
use strict;
|
|
use testapi;
|
|
use utils;
|
|
use tapnet;
|
|
|
|
sub run {
|
|
my $self = shift;
|
|
# Anaconda hub
|
|
assert_screen "anaconda_main_hub", 300; #
|
|
|
|
if (check_screen ["anaconda_network_connected"], 60) {
|
|
# network is connected already, we're done
|
|
return;
|
|
}
|
|
|
|
assert_and_click "anaconda_main_hub_network_host_name_not_connected";
|
|
assert_and_click "anaconda_network_connect";
|
|
|
|
assert_screen "anaconda_network_connected", 90;
|
|
assert_and_click "anaconda_spoke_done";
|
|
}
|
|
|
|
sub test_flags {
|
|
return { fatal => 1 };
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|