diff --git a/ocp_install_env.sh b/ocp_install_env.sh index 96a66c65f..32ac1d4f4 100644 --- a/ocp_install_env.sh +++ b/ocp_install_env.sh @@ -87,7 +87,7 @@ function build_installer() { cd $OPENSHIFT_INSTALL_PATH TAGS="libvirt baremetal" hack/build.sh popd - cp "$OPENSHIFT_INSTALL_PATH/data/data/rhcos.json" "$OCP_DIR" + "$OPENSHIFT_INSTALL_PATH/bin/openshift-install" coreos print-stream-json >"$OCP_DIR/rhcos.json" || cp "$OPENSHIFT_INSTALL_PATH/data/data/rhcos.json" "$OCP_DIR" } function baremetal_network_configuration() { @@ -324,4 +324,4 @@ spec: echo "${bmh}" >> "${outdir}/extras/extraworker-${worker_index}-bmh" ((worker_index+=1)) done -} \ No newline at end of file +}