mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-18 16:43:07 +00:00
fe8306d2cd
This PR adds implementations of distribution methods to make them usable on Fedora. It adds the following methods * ensure_installed (to install packages) * become_root (to switch to root account) * script_sudo (run script with sudo) * assert_script_sudo (run and assert a sudo script) It also adds a helper script to the utils.pm * make_serial_writable that makes the serial console writable for normal users and so enables to run commands that check their progress by sending messages to the serial console. Normally, they fail, because the messages will not be written their, so the checking mechanism will never see them.
24 lines
368 B
JSON
24 lines
368 B
JSON
{
|
|
"area": [
|
|
{
|
|
"width": 40,
|
|
"type": "match",
|
|
"xpos": 191,
|
|
"ypos": 346,
|
|
"height": 16
|
|
},
|
|
{
|
|
"xpos": 297,
|
|
"ypos": 346,
|
|
"type": "match",
|
|
"height": 14,
|
|
"width": 17
|
|
}
|
|
],
|
|
"properties": [],
|
|
"tags": [
|
|
"ENV-DISTRI-fedora",
|
|
"root_console",
|
|
"root_logged_in"
|
|
]
|
|
} |