Update notes about clicking root password screen in anaconda

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-12-13 11:57:00 -08:00
parent 6f0478d4b4
commit 5acd4ea80b
2 changed files with 4 additions and 6 deletions

View File

@ -11,9 +11,8 @@ sub _set_root_password {
my $root_password = get_var("ROOT_PASSWORD") || "weakpassword";
unless (get_var("INSTALLER_NO_ROOT")) {
assert_and_click "anaconda_install_root_password";
# from anaconda-35.22.1 onwards, we have to click 'enable root
# account' before typing the password. For older versions,
# clicking this needle does nothing but is harmless
# we have to click 'enable root account' before typing the
#password
assert_and_click "anaconda_install_root_password_screen";
# wait out animation
wait_still_screen 2;

View File

@ -52,9 +52,8 @@ sub run {
# we must
unless (get_var("DESKTOP") eq "gnome") {
assert_and_click "anaconda_install_root_password";
# from anaconda-35.22.1 onwards, we have to click 'enable root
# account' before typing the password. For older versions,
# clicking this needle does nothing but is harmless
# we have to click 'enable root account' before typing the
# password
assert_and_click "anaconda_install_root_password_screen";
type_safely "weakadminpassword";
send_key "tab";