1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-10-28 14:05:59 +00:00

static network: disable greenboot on IoT (#2396605)

In IoT F43 and F44 at present, greenboot is failing if networking
is not immediately available on boot. Well, on our tests that use
static networking, it isn't. So that's a problem. Let's have the
static networking setup test stop greenboot if it's running on
IoT, that should get around this.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2025-09-18 16:09:27 -07:00
parent 04cadc2257
commit c344af14d5

View File

@ -6,6 +6,11 @@ use utils;
sub run {
my $self = shift;
# stop greenboot to avoid
# https://bugzilla.redhat.com/show_bug.cgi?id=2396605
if (get_var("SUBVARIANT") eq "IoT") {
script_run "systemctl stop greenboot-set-rollback-trigger.service greenboot-healthcheck.service";
}
my ($ip, $hostname) = split(/ /, get_var("POST_STATIC"));
$hostname //= 'localhost.localdomain';
# set up networking