Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] AGENT: Fix releaseImageMirror formatting
When the image is of the form: quay.io/openshift-release-dev/ocp-release@sha256:300bce8246cf880e792e106607925de0a404484637627edf5f517375517d54a4 Splitting by ':' means that the extracted location will be: quay.io/openshift-release-dev/ocp-release@sha256: Instead of quay.io/openshift-release-dev/ocp-release Whereas in registries.conf we'd have the location be: [[registry]] location = "quay.io/openshift-release-dev/ocp-release" Thus. There wouldn't be a match and the release image will be empty in places like: /usr/local/share/assisted-service/assisted-service.env or /etc/systemd/system/create-cluster-and-infraenv.service Signed-off-by: Antoni Segura Puimedon <antoni@redhat.com>
- Loading branch information