From c344af14d5cfb256c5d55b1feeaeef62d22d6860 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 18 Sep 2025 16:09:27 -0700 Subject: [PATCH] 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 --- tests/_post_network_static.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/_post_network_static.pm b/tests/_post_network_static.pm index e54fa3fa..25c9a8a5 100644 --- a/tests/_post_network_static.pm +++ b/tests/_post_network_static.pm @@ -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