// Module included in the following assemblies:
//
// * microshift/running_applications/microshift-deleting-resource-manifests.adoc

:_mod-docs-content-type: PROCEDURE
[id="microshift-manifests-removal-scenario-ostree_{context}"]
= Removing manifests for OSTree systems

[role="_abstract"]
On OSTree-based {microshift-short} systems, you can remove a resource by packaging the manifest in an RPM, adding it to a blueprint, and letting {microshift-short} process the `delete` directory.

[IMPORTANT]
====
For OSTree installation, the `delete` subdirectories are read-only.
====

.Procedure

. Identify the manifest that needs to be placed in the `delete` subdirectories.
. Package the manifest into an RPM. See link:https://docs.redhat.com/en/documentation/red_hat_build_of_microshift/{ocp-version}/html/running_applications/microshift-embedding-apps-tutorial#microshift-building-apps-rpms_microshift-embedding-apps-tutorial[Building the RPM package for the application] for the procedure to package the manifest into an RPM.
. Add the packaged RPM to the blueprint file to install it into correct location. See link:https://docs.redhat.com/en/documentation/red_hat_build_of_microshift/{ocp-version}/html/running_applications/microshift-embedding-apps-tutorial#microshift-adding-app-rpms-to-blueprint_microshift-embedding-apps-tutorial[Adding application RPMs to a blueprint] for the procedure to add an RPM to a blueprint.
