Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,12 @@ objects:
PXE_KERNEL_URL="$(jq -r '.baseURI + .images["kernel"].path' /var/lib/openshift-install/rhcos.json)"
# 4.3 unified 'metal-bios' and 'metal-uefi' into just 'metal'
PXE_OS_IMAGE_URL="$(jq -r '.baseURI + (.images["metal-bios"].path // .images["metal"].path)' /var/lib/openshift-install/rhcos.json)"
if [[ $PXE_KERNEL_URL =~ "live" ]]; then
PXE_KERNEL_ARGS=""
else
PXE_KERNEL_ARGS="coreos.inst.image_url=${PXE_OS_IMAGE_URL}"
fi
# 4.3 unified 'metal-bios' and 'metal-uefi' into just 'metal', unused in 4.6
Copy link
Member

Choose a reason for hiding this comment

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

Comment seems misplaced, I think you mean to change the one above? But not worth a respin.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks, I'll clean that up in #10121

cat > /tmp/artifacts/terraform/terraform.tfvars <<-EOF
cluster_id = "${CLUSTER_NAME}"
bootstrap_ign_file = "/tmp/artifacts/installer/bootstrap.ign"
Expand All @@ -448,6 +454,7 @@ objects:
pxe_initrd_url = "${PXE_INITRD_URL}"
pxe_kernel_url = "${PXE_KERNEL_URL}"
pxe_os_image_url = "${PXE_OS_IMAGE_URL}"
pxe_kernel_args = "{PXE_KERNEL_ARGS}"
worker_count = "${workers}"
worker_ign_file = "/tmp/artifacts/installer/worker.ign"
EOF
Expand Down