-
Story
-
Resolution: Done
-
Normal
-
None
-
None
-
None
-
None
-
2
-
False
-
-
False
-
OCPPLAN-8150 - Agent-Based Installer GA
-
Agent Sprint 219, Agent Sprint 220, Agent Sprint 221, Agent Sprint 222
The Core OS ISO can be extracted from the release payload using a command like:
oc image extract --file=/coreos/coreos-x86_64.iso quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:1dc3c2a644f62049ea4a03fddb9305bc2b929405bf979b7f5e720cfadf327b54
Where the SHA points to the machine-os-images container in the release payload (which can be obtained using oc adm release info --image-for=machine-os-images. (Both of these commands require the pull secret for the cluster to be available in your podman config.)
We'll need to use equivalent code (hopefully imported from oc or the same library it uses) to fetch the base ISO using the supplied pull secret in the ZTP manifests and store it as an Asset.