Skip to content

Commit

Permalink
fix(dracut): use isolate on error in the manufacturing-client service
Browse files Browse the repository at this point in the history
Use 'isolate' instead of 'replace-irreversibly' for the manufacturing-client
service to prevent the `coreos-installer` service to be respawned when
the manufacturing-client fails.

Signed-off-by: Miguel Martín <[email protected]>
  • Loading branch information
mmartinv committed Oct 2, 2024
1 parent 25dc5f0 commit 063a573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dracut/52fdo/manufacturing-client.service
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ConditionPathExists=/etc/manufacturing-client-config
Requires=dev-disk-by\x2dlabel-boot.device

OnFailure=emergency.target
OnFailureJobMode=replace-irreversibly
OnFailureJobMode=isolate

[Service]
Type=oneshot
Expand Down

0 comments on commit 063a573

Please sign in to comment.