mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-18 17:18:30 +00:00
connect network during boot (#66)
- 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.
This commit is contained in:
parent
dd209f70e3
commit
33dd37fdea
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"height": 38,
|
||||||
|
"type": "match",
|
||||||
|
"width": 42,
|
||||||
|
"xpos": 719,
|
||||||
|
"ypos": 339
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"ENV-DISTRI-rocky",
|
||||||
|
"anaconda_network_connected"
|
||||||
|
]
|
||||||
|
}
|
Binary file not shown.
After Width: | Height: | Size: 54 KiB |
@ -55,6 +55,7 @@
|
|||||||
"distri": "rocky",
|
"distri": "rocky",
|
||||||
"flavor": "boot-iso",
|
"flavor": "boot-iso",
|
||||||
"settings": {
|
"settings": {
|
||||||
|
"GRUB": "ip=dhcp",
|
||||||
"+QEMURAM": 3072,
|
"+QEMURAM": 3072,
|
||||||
"TEST_TARGET": "ISO"
|
"TEST_TARGET": "ISO"
|
||||||
},
|
},
|
||||||
@ -65,6 +66,7 @@
|
|||||||
"distri": "rocky",
|
"distri": "rocky",
|
||||||
"flavor": "boot-iso",
|
"flavor": "boot-iso",
|
||||||
"settings": {
|
"settings": {
|
||||||
|
"GRUB": "ip=dhcp",
|
||||||
"+QEMURAM": 3072,
|
"+QEMURAM": 3072,
|
||||||
"TEST_TARGET": "ISO"
|
"TEST_TARGET": "ISO"
|
||||||
},
|
},
|
||||||
|
@ -9,6 +9,11 @@ sub run {
|
|||||||
# Anaconda hub
|
# Anaconda hub
|
||||||
assert_screen "anaconda_main_hub", 300; #
|
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_main_hub_network_host_name_not_connected";
|
||||||
assert_and_click "anaconda_network_connect";
|
assert_and_click "anaconda_network_connect";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user