_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
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,8 @@ sub run {
# are frequently getting OOM killed here:
# https://bugzilla.redhat.com/show_bug.cgi?id=2133829
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;
if (get_var("ADVISORY_BOOT_TEST")) {
# to test boot stuff - in case the update touched grub2, or dracut,