Skip to content

Commit 6ffe3f4

Browse files
committed
bug 1901592 - correcting oc adm release command flags
1 parent e0954af commit 6ffe3f4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/installation-mirror-repository.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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]

0 commit comments

Comments
 (0)