Skip to content

Commit

Permalink
Add instructions to end of unpack.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Jared Hocutt <jhocutt@redhat.com>
  • Loading branch information
jaredhocutt committed Sep 19, 2023
1 parent 5773e0b commit b857c42
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions ocp4_disconnected/unpack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,30 @@ done
install_config_trust_bundle=`yq eval --null-input '{"additionalTrustBundle": "'"$(</mnt/ocp4_data/registry/quay-install/quay-rootCA/rootCA.pem)"'"}'`
install_config_icsp=`cat ${LATEST_ICSP_FILE} | yq eval --no-doc '.spec.repositoryDigestMirrors' | yq eval '{"imageContentSources": . }'`

echo
echo
cat << EOF
The binaries have been unpacked to /usr/local/bin and the container images have
been uploaded to the mirror registry. You are ready to create the
install-config.yaml for the target environment.
If you are following along with the walkthrough provided with this tool, check
next steps for how to generate the install-config.yaml for the example environment
that's provided. If you are targeting a different environment, the walkthrough
should also provide some links to the OpenShift documentation for how to
generate the install-config.yaml for the target environment.
Once you have your install-config.yaml created for your target environment,
there's one update to the install-config.yaml we need to make that will tell
the OpenShift installer to use our mirrored content instead of defaulting to
reaching out to the internet for content.
Copy and paste the following blocks of YAML to the end of your install-config.yaml.
EOF
echo
echo

printf "${install_config_trust_bundle}\n${install_config_icsp}"

echo
echo

0 comments on commit b857c42

Please sign in to comment.