From fd737534107fc27d2a77f30c85f148465417c961 Mon Sep 17 00:00:00 2001 From: Ian Main Date: Wed, 2 Oct 2019 13:13:56 -0700 Subject: [PATCH] WIP: Add new items for configuring the BMO to the baremetal platform. 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. --- 02_configure_host.sh | 1 - 06_create_cluster.sh | 2 +- ocp_install_env.sh | 5 +++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/02_configure_host.sh b/02_configure_host.sh index e81ec7fa2..9a31a84bf 100755 --- a/02_configure_host.sh +++ b/02_configure_host.sh @@ -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 diff --git a/06_create_cluster.sh b/06_create_cluster.sh index e4cc659ab..007585a15 100755 --- a/06_create_cluster.sh +++ b/06_create_cluster.sh @@ -5,8 +5,8 @@ set -e source logging.sh source utils.sh source common.sh -source ocp_install_env.sh source rhcos.sh +source ocp_install_env.sh # Do some PULL_SECRET sanity checking if [[ "${OPENSHIFT_RELEASE_IMAGE}" == *"registry.svc.ci.openshift.org"* ]]; then diff --git a/ocp_install_env.sh b/ocp_install_env.sh index f3be47ed9..1d011f0f3 100644 --- a/ocp_install_env.sh +++ b/ocp_install_env.sh @@ -95,6 +95,11 @@ controlPlane: platform: baremetal: dnsVIP: ${DNS_VIP} + provisioningInterface: "ens3" + 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}" hosts: $(master_node_map_to_install_config $NUM_MASTERS) pullSecret: |