Skip to content

Commit 20f3820

Browse files
author
Christopher Tauchen
authored
Merge pull request #40046 from kquinn1204/BZ-1892611
BZ-1892611: adding first commit for BZ-1892611
2 parents bf68ce3 + b806e8c commit 20f3820

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

modules/ipi-install-creating-a-disconnected-registry.adoc

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,38 @@ $ jq ".auths += $AUTHSTRING" < pull-secret.txt > pull-secret-update.txt
185185
$ sudo scp kni@provisioner:/usr/local/bin/oc /usr/local/bin
186186
----
187187

188+
. Set the required environment variables.
189+
190+
.. Set the release version:
191+
+
192+
[source,terminal]
193+
----
194+
$ VERSION=<release_version>
195+
----
196+
+
197+
For `<release_version>`, specify the tag that corresponds to the version of {product-title} to install, such as `{product-version}`.
198+
199+
.. Set the local registry name and host port:
200+
+
201+
[source,terminal]
202+
----
203+
$ LOCAL_REG='<local_registry_host_name>:<local_registry_host_port>'
204+
----
205+
+
206+
For `<local_registry_host_name>`, specify the registry domain name for your mirror
207+
repository, and for `<local_registry_host_port>`, specify the port that it
208+
serves content on.
209+
210+
.. Set the local repository name:
211+
+
212+
[source,terminal]
213+
----
214+
$ LOCAL_REPO='<local_repository_name>'
215+
----
216+
+
217+
For `<local_repository_name>`, specify the name of the repository to create in your
218+
registry, such as `ocp4/openshift4`.
219+
188220
. Mirror the remote install images to the local repository.
189221
+
190222
[source,terminal]

0 commit comments

Comments
 (0)