1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-09-29 09:17:23 +00:00

_advisory_update: ensure we're back on tty3

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-10-21 08:55:27 -07:00
parent 41d8d5923a
commit 9c8fb47484

View File

@ -13,6 +13,8 @@ sub run {
# are frequently getting OOM killed here: # are frequently getting OOM killed here:
# https://bugzilla.redhat.com/show_bug.cgi?id=2133829 # https://bugzilla.redhat.com/show_bug.cgi?id=2133829
script_run "systemctl isolate multi-user.target"; script_run "systemctl isolate multi-user.target";
# switch back to our tty if that kicked us to tty1
$self->root_console(tty => 3);
repo_setup; repo_setup;
if (get_var("ADVISORY_BOOT_TEST")) { if (get_var("ADVISORY_BOOT_TEST")) {
# to test boot stuff - in case the update touched grub2, or dracut, # to test boot stuff - in case the update touched grub2, or dracut,