Skip to content

How to adjust the an RHEL CoreOS ISO

Prerequisites

Prepare auto-install USB-Sticks including worker igntion

Get worker ignition from running cluster

or use that one created from openshift-install

1
2
3
4
oc get -n openshift-machine-api \
  secrets/worker-user-data \
  -o go-template="{{ .data.userData | base64decode }}" \
  > worker.ign

Create own rhcos iso

1
2
3
4
5
coreos-installer iso customize \
  --dest-device /dev/sda \
  --dest-ignition worker.ign \
  -o ready-to-install-at-sda.iso \
  rhcos-live.x86_64.iso

Option: double check ignition:

coreos-installer iso ignition show ready-to-install-at-sda.iso

Prepare usb stick

dd if=ready-to-install-at-sda.iso of=/dev/$USB_DISK status=progress

2022-12-17 2020-10-14 Contributors: Robert Bohne