mkosi: avoid infinite reboot on failure

If systemd-pcrphase-initrd.service and friends failed for some reasons,
the test VM will reboot infinitely and the test will timeout. Let's
propagate the failure to the host and fail the test earlier in that case.
This commit is contained in:
Yu Watanabe
2025-09-29 21:58:36 +09:00
committed by Zbigniew Jędrzejewski-Szmek
parent 7ae7c014c3
commit d526ab8a9a
9 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
[Unit]
FailureAction=exit

View File

@@ -0,0 +1,2 @@
[Unit]
FailureAction=exit

View File

@@ -0,0 +1,2 @@
[Unit]
FailureAction=exit

View File

@@ -0,0 +1,2 @@
[Unit]
FailureAction=exit

View File

@@ -0,0 +1,2 @@
[Unit]
FailureAction=exit

View File

@@ -0,0 +1,2 @@
[Unit]
FailureAction=exit