1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-01 17:53:08 +00:00

Add login line.

This commit is contained in:
Lukas Ruzicka 2018-06-27 10:08:51 +02:00
parent efa70c86fb
commit f610617fc6

View File

@ -10,10 +10,18 @@ sub run {
if ($release eq "rawhide") { if ($release eq "rawhide") {
$relnum = get_var("RAWREL", "rawhide"); $relnum = get_var("RAWREL", "rawhide");
} }
# log as the test user
script_run "su --login test"
# switch back to the graphics
send_key "ctrl-alt-f2"
# disable screen blanking (download can take a long time) # disable screen blanking (download can take a long time)
script_run "setterm -blank 0"; script_run "setterm -blank 0";
# handle bootloader, if requested; set longer timeout as sometimes # handle bootloader, if requested; set longer timeout as sometimes
# reboot here seems to take a long time # reboot here seems to take a long time
if (get_var("GRUB_POSTINSTALL")) { if (get_var("GRUB_POSTINSTALL")) {