mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-22 14:03:09 +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.
592 KiB
1024x768px
592 KiB
1024x768px