From aa7fad50d639a300961dafa726de26cd06a53f99 Mon Sep 17 00:00:00 2001 From: Trevor Cooper Date: Mon, 20 Mar 2023 08:49:05 -0700 Subject: [PATCH] fix sub name error --- tests/_boot_to_anaconda.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/_boot_to_anaconda.pm b/tests/_boot_to_anaconda.pm index d863c233..297d6f96 100644 --- a/tests/_boot_to_anaconda.pm +++ b/tests/_boot_to_anaconda.pm @@ -104,7 +104,7 @@ sub run { unless (wait_serial "Installation") { die "Text version of Anaconda has not started."; } } else { - if (get_var("DISTRI") eq "rocky" && (get_major_version() < 9)) { + if (get_var("DISTRI") eq "rocky" && (get_version_major() < 9)) { # Rocky Linux 8 doesn't have network enabled at boot so we # are not prompted for VNC. If that changes in future update # this conditional can be removed and the else condition