mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-22 10:48:30 +00:00
Add a softfail workaround for #1600823
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
7ba5dfcc94
commit
a362ecb2a0
@ -13,6 +13,12 @@ sub run {
|
||||
# anything at a console. the more advanced upstream 'console'
|
||||
# handling may help us here if we switch to it
|
||||
console_loadkeys_us;
|
||||
# work around #1600823 if it crops up
|
||||
if (script_run "systemctl is-active NetworkManager.service") {
|
||||
record_soft_failure "Network is not up (probably 1600823)";
|
||||
# Try and start service
|
||||
script_run "systemctl start NetworkManager.service";
|
||||
}
|
||||
# check there are no AVCs. We expect an error here: if we don't
|
||||
# get an error, it means there *are* AVCs.
|
||||
my $hook_run = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user