Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion 02_configure_host.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ set -xe
source logging.sh
source common.sh
source utils.sh
source ocp_install_env.sh

# Generate user ssh key
if [ ! -f $HOME/.ssh/id_rsa.pub ]; then
Expand Down
2 changes: 1 addition & 1 deletion 06_create_cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ set -e
source logging.sh
source utils.sh
source common.sh
source ocp_install_env.sh
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes in this file seem to be a no-op.

source rhcos.sh
source ocp_install_env.sh

# Do some PULL_SECRET sanity checking
if [[ "${OPENSHIFT_RELEASE_IMAGE}" == *"registry.svc.ci.openshift.org"* ]]; then
Expand Down
5 changes: 5 additions & 0 deletions ocp_install_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ controlPlane:
platform:
baremetal:
dnsVIP: ${DNS_VIP}
provisioningInterface: "ens3"
provisioningNetworkCIDR: "172.22.0.0/24"
provisioningIP: "172.22.0.3/24"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of these should have defaults in the installer PR, e.g see pkg/types/baremetal/defaults/platform.go

provisioningDHCPRange: "172.22.0.10,172.22.0.100"
rhcosImageURL: "${RHCOS_IMAGE_URL}"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As mentioned on the installer PR we shouldn't add rhcosImageURL because it's data that's already known to the installer - we only care about RHCOS_IMAGE_URL in dev-scripts because we cache the image

hosts:
$(master_node_map_to_install_config $NUM_MASTERS)
pullSecret: |
Expand Down