mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-18 09:08:29 +00:00
use TTY3 for login as root
This commit is contained in:
parent
d75b56be20
commit
072fc78d73
@ -39,8 +39,13 @@ sub run {
|
||||
}
|
||||
}
|
||||
|
||||
# login
|
||||
$self->root_console();
|
||||
# switch to TTY3 for both, graphical and console tests
|
||||
$self->root_console(tty => 3);
|
||||
|
||||
if (get_var("ROOT_PASSWORD")) {
|
||||
console_login(user => "root", password => get_var("ROOT_PASSWORD"));
|
||||
}
|
||||
|
||||
# We need entropy. Install rng-tools and start it up. Fedora uses haveged
|
||||
# but Rocky Linux does not have it unless EPEL is used.
|
||||
assert_script_run "dnf --assumeyes install rng-tools", 300;
|
||||
|
Loading…
Reference in New Issue
Block a user