Skip to content

Conversation

@imain
Copy link
Contributor

@imain imain commented Oct 2, 2019

Add configuration information for the baremetal pod to the baremetal
platform config. This can then be picked up in the installer and used
to set the platformStatus.

Add configuration information for the baremetal pod to the baremetal
platform config.  This can then be picked up in the installer and used
to set the platformStatus.
@imain
Copy link
Contributor Author

imain commented Oct 2, 2019

You'll also need this: openshift/installer#2449

provisioningNetworkCIDR: "172.22.0.0/24"
provisioningIP: "172.22.0.3/24"
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

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

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.

@imain
Copy link
Contributor Author

imain commented Oct 16, 2019

This isn't needed any more. The new version has sane defaults so you don't really need to configure it.

@imain imain closed this Oct 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants