File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ $ REMOVABLE_MEDIA_PATH=<path> <1>
117117+
118118[source,terminal]
119119----
120- $ oc adm -a ${LOCAL_SECRET_JSON} release mirror \
120+ $ oc adm release mirror -a ${LOCAL_SECRET_JSON} \
121121 --from=quay.io/${PRODUCT_REPO}/${RELEASE_NAME}:${OCP_RELEASE}-${ARCHITECTURE} \
122122 --to=${LOCAL_REGISTRY}/${LOCAL_REPOSITORY} \
123123 --to-release-image=${LOCAL_REGISTRY}/${LOCAL_REPOSITORY}:${OCP_RELEASE}-${ARCHITECTURE} --dry-run
@@ -144,7 +144,7 @@ $ oc image mirror -a ${LOCAL_SECRET_JSON} --from-dir=${REMOVABLE_MEDIA_PATH}/mir
144144+
145145[source,terminal]
146146----
147- $ oc adm -a ${LOCAL_SECRET_JSON} release mirror \
147+ $ oc adm release mirror -a ${LOCAL_SECRET_JSON} \
148148 --from=quay.io/${PRODUCT_REPO}/${RELEASE_NAME}:${OCP_RELEASE}-${ARCHITECTURE} \
149149 --to=${LOCAL_REGISTRY}/${LOCAL_REPOSITORY} \
150150 --to-release-image=${LOCAL_REGISTRY}/${LOCAL_REPOSITORY}:${OCP_RELEASE}-${ARCHITECTURE}
@@ -167,13 +167,13 @@ mirrored, extract it and pin it to the release:
167167+
168168[source,terminal]
169169----
170- $ oc adm -a ${LOCAL_SECRET_JSON} release extract --command=openshift-install "${LOCAL_REGISTRY}/${LOCAL_REPOSITORY}:${OCP_RELEASE}"
170+ $ oc adm release extract -a ${LOCAL_SECRET_JSON} --command=openshift-install "${LOCAL_REGISTRY}/${LOCAL_REPOSITORY}:${OCP_RELEASE}"
171171----
172172** If the local container registry is connected to the mirror host, run the following command:
173173+
174174[source,terminal]
175175----
176- $ oc adm -a ${LOCAL_SECRET_JSON} release extract --command=openshift-install "${LOCAL_REGISTRY}/${LOCAL_REPOSITORY}:${OCP_RELEASE}-${ARCHITECTURE}"
176+ $ oc adm release extract -a ${LOCAL_SECRET_JSON} --command=openshift-install "${LOCAL_REGISTRY}/${LOCAL_REPOSITORY}:${OCP_RELEASE}-${ARCHITECTURE}"
177177----
178178
179179[IMPORTANT]
You can’t perform that action at this time.
0 commit comments