Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1964591: Remove AI Agent image in case of service failure
This PR adds a handler for a failure scenario of `agent.service` which removes the `assisted-installer-agent` container image. This is a workaround for an issue where symlinks in `/var/lib/containers/` are corrupted. Deleting an image in `OnFailure` directive of the `agent.service` will cause the image to be pulled again the next time the service starts. Given its already configured restart policy, this workflow is already in place. Closes: OCPBUGSM-29583
- Loading branch information