make cockpit login screen workaround unconditional for now

cockpit 118 hit F25 stable, so we need this on both branches
now...next up, 119 will hit Rawhide, and we'll need to make
it F25-only...
This commit is contained in:
Adam Williamson 2016-09-12 17:47:21 -07:00
parent 72074868a8
commit 016074d247

View File

@ -72,11 +72,11 @@ sub start_cockpit {
wait_still_screen 5; wait_still_screen 5;
if ($login) { if ($login) {
# with cockpit 118, user name field is not highlighted by # with cockpit 118, user name field is not highlighted by
# default. for right now 118 is only in Rawhide, we'll have # default. this will be fixed in 119, so we will need to make
# to adjust this conditional as necessary. # this F25-only when 119 hits Rawhide, then remove it entirely
if (lc(get_var('VERSION')) eq "rawhide") { # when 119 goes stable for F25.
wait_screen_change { send_key "tab"; }; wait_screen_change { send_key "tab"; };
}
type_safely "root"; type_safely "root";
wait_screen_change { send_key "tab"; }; wait_screen_change { send_key "tab"; };
type_safely get_var("ROOT_PASSWORD", "weakpassword"); type_safely get_var("ROOT_PASSWORD", "weakpassword");