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-adding-other-packages-to-blueprint.adoc
2025-11-21 17:07:56 +00:00

52 lines
2.4 KiB
Plaintext

// Module included in the following assemblies:
//
// * microshift_install_rpm/microshift-update-rpms-ostree.adoc
:_mod-docs-content-type: PROCEDURE
[id="microshift-adding-other-services-to-blueprint_{context}"]
= Adding other packages to a blueprint
[role="_abstract"]
Add the references for optional RPM packages to your `ostree` blueprint to enable them.
.Prerequisites
* You created an image builder blueprint file.
.Procedure
. Edit your `ostree` blueprint by running the following command:
+
[source,terminal,subs="+quotes"]
----
$ vi __<microshift_blueprint.toml>__
----
+
Replace `_<microshift_blueprint.toml>_` with the name of the blueprint file used for the {microshift-short} service.
. Add the following example text to your blueprint:
+
[source,text,subs="+quotes"]
----
[[packages]]
name = "__<microshift-additional-package-name>__"
version = "*"
----
+
* `\[[packages]] name =` Include one stanza for each additional service that you want to add. For example, replace `_<microshift-additional-package-name>_` in with the name the RPM for the service you want to include such as `microshift-olm`. Add another stanza as needed.
.Next steps
. Add custom certificate authorities to the blueprint as needed. For more information, see the following links:
* link:https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/securing_networks/using-shared-system-certificates_securing-networks[Using Shared System Certificates ({op-system-base} 9)]
* link:https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/composing_a_customized_rhel_system_image/creating-system-images-with-composer-command-line-interface_composing-a-customized-rhel-system-image#image-customizations_creating-system-images-with-composer-command-line-interface[Supported image customizations ({op-system-base} 9)]
* link:https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/composing_installing_and_managing_rhel_for_edge_images/creating-and-managing-ostree-image-updates_composing-installing-managing-rhel-for-edge-images[Creating and managing OSTree image updates]
. After you finish adding to your blueprint, you can apply the manifests to an active node by building a new {op-system-ostree} system and deploying it on the client:
* Create the ISO.
* Add the blueprint and build the ISO.
* Download the ISO and prepare it for use.
* Do any provisioning that is needed.