Skip to content

Commit

Permalink
temp workaround for oc-mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
karmab committed Sep 20, 2023
1 parent 4ea8642 commit c281f3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/04_disconnected_olm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ podman login -u "$RHN_USER" -p "$RHN_PASSWORD" registry.redhat.io

which oc-mirror >/dev/null 2>&1
if [ "$?" != "0" ] ; then
curl -sL https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/latest/oc-mirror.tar.gz | tar xvz -C /usr/bin
curl -sL https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/4.13.2/oc-mirror.tar.gz | tar xvz -C /usr/bin
chmod +x /usr/bin/oc-mirror
fi

Expand Down
2 changes: 1 addition & 1 deletion ztp/scripts/siteconfig.sample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ spec:
bmcAddress: idrac-virtualmedia://{{ node['redfish_address'] }}/redfish/v1/Systems/System.Embedded.1
{% endif %}
{% else %}
bmcAddress: redfish-virtualmedia+http://CHANGEME:8000/redfish/v1/Systems/UUID-{{ spoke_name }}-{{ num }}
bmcAddress: redfish-virtualmedia+http://${BAREMETAL_IP}:9000/redfish/v1/Systems/UUID-{{ spoke_name }}-{{ num }}
{% endif %}
bmcCredentialsName:
name: {{ cluster }}-ztp-{{ spoke_name }}-bmc-secret-{{ num }}
Expand Down

0 comments on commit c281f3d

Please sign in to comment.