diff --git a/config_example.sh b/config_example.sh index 2cfbf4f7f..521e822ed 100755 --- a/config_example.sh +++ b/config_example.sh @@ -638,6 +638,14 @@ set -x #export WORKER_DISK=60 #export WORKER_VCPU=4 +# WORKER_POOL_OS_IMAGE_STREAM - +# Set osImageStream on the worker compute pool in install-config.yaml. +# For example, set to "rhel-10" to deploy workers with a different OS +# stream than the control plane. +# Default: unset (omitted from install-config). +# +#export WORKER_POOL_OS_IMAGE_STREAM=rhel-10 + # NUM_EXTRA_WORKERS - Indicate number of extra VMs to create but not deploy. # Default: 0 # diff --git a/ocp_install_env.sh b/ocp_install_env.sh index f81a8f090..e1851b914 100644 --- a/ocp_install_env.sh +++ b/ocp_install_env.sh @@ -411,6 +411,7 @@ compute: - name: worker replicas: $NUM_WORKERS architecture: $(get_arch install_config) +$([ -n "${WORKER_POOL_OS_IMAGE_STREAM:-}" ] && echo " osImageStream: $WORKER_POOL_OS_IMAGE_STREAM") controlPlane: name: master replicas: ${NUM_MASTERS}