1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/microshift-add-blueprint-build-iso.adoc
2025-11-21 17:07:56 +00:00

53 lines
1.7 KiB
Plaintext

// Module included in the following assemblies:
//
// microshift_install_rpm_ostree/microshift-embed-into-rpm-ostree.adoc
:_mod-docs-content-type: PROCEDURE
[id="microshift-add-blueprint-build-iso_{context}"]
= Add the blueprint to image builder and build the ISO
[role="_abstract"]
You must add the blueprint to an image builder to build the ISO.
.Procedure
. Add the blueprint to the image builder by running the following command:
+
[source,terminal]
+
----
$ sudo composer-cli blueprints push microshift-installer.toml
----
. Start the `ostree` ISO build by running the following command:
+
[source,terminal,subs="attributes+"]
----
$ BUILDID=$(sudo composer-cli compose start-ostree --url http://localhost:8085/repo/ --ref "rhel/{op-system-version-major}/$(uname -m)/edge" microshift-installer edge-installer | awk '{print $2}')
----
+
This command also returns the identification (ID) of the build for monitoring.
. You can check the status of the build periodically by running the following command:
+
[source,terminal]
----
$ sudo composer-cli compose status
----
+
.Example output for a running build
+
[source,terminal]
----
ID Status Time Blueprint Version Type Size
c793c24f-ca2c-4c79-b5b7-ba36f5078e8d RUNNING Wed Jun 7 13:22:20 2023 microshift-installer 0.0.0 edge-installer
----
+
.Example output for a completed build
+
[source,terminal]
----
ID Status Time Blueprint Version Type Size
c793c24f-ca2c-4c79-b5b7-ba36f5078e8d FINISHED Wed Jun 7 13:34:49 2023 microshift-installer 0.0.0 edge-installer
----