Skip to content
Open
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
11 changes: 6 additions & 5 deletions modules/install-sno-generating-the-install-iso-manually.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@ ifdef::openshift-origin[]
+
[source,terminal]
----
$ OKD_VERSION=<okd_version> <1>
$ export OKD_VERSION=$(curl -s https://api.github.com/repos/okd-project/okd/releases/latest|jq -r '.name') <1>
----
+
<1> Replace `<okd_version>` with the current version, for example, `4.14.0-0.okd-2024-01-26-175629`
<1> Alternatively, set a version manually instead of using the latest, for example, `4.20.0-okd-scos.7`

endif::openshift-origin[]

. Set the host architecture:
Expand Down Expand Up @@ -116,7 +117,7 @@ $ chmod +x openshift-install
+
[source,terminal]
----
$ export ISO_URL=$(./openshift-install coreos print-stream-json | grep location | grep $ARCH | grep iso | cut -d\" -f4)
$ export ISO_URL=$(./openshift-install coreos print-stream-json | jq -r ".architectures.${ARCH}.artifacts.metal.formats.iso.disk.location")
----

ifndef::openshift-origin[]
Expand All @@ -132,7 +133,7 @@ ifdef::openshift-origin[]
+
[source,terminal]
----
$ curl -L $ISO_URL -o fcos-live.iso
$ curl -L $ISO_URL -o scos-live.iso
----
endif::openshift-origin[]

Expand Down Expand Up @@ -248,6 +249,6 @@ $ alias coreos-installer='podman run --privileged --pull always --rm \
+
[source,terminal]
----
$ coreos-installer iso ignition embed -fi sno/bootstrap-in-place-for-live-iso.ign fcos-live.iso
$ coreos-installer iso ignition embed -fi sno/bootstrap-in-place-for-live-iso.ign scos-live.iso
----
endif::openshift-origin[]