Skip to content

Commit 1dc3f36

Browse files
committed
OSDOCS-8635: fix rpm ostree command
1 parent e0121b8 commit 1dc3f36

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/coreos-layering-configuring.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ You should use the same base {op-system} image that is installed on the rest of
2727
For example, the following Containerfile creates a custom layered image from an {product-title} {product-version} image and overrides the kernel package with one from CentOS 9 Stream:
2828
+
2929
.Example Containerfile for a custom layer image
30-
[source,yaml]
30+
[source,yaml,subs="+attributes"]
3131
----
32-
# Using a 4.12.0 image
32+
# Using a {product-version}.0 image
3333
FROM quay.io/openshift-release/ocp-release@sha256... <1>
3434
#Install hotfix rpm
35-
RUN rpm-ostree override cliwrap install-to-root / && \ <2>
35+
RUN rpm-ostree cliwrap install-to-root / && \ <2>
3636
rpm-ostree override replace http://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/Packages/kernel-{,core-,modules-,modules-core-,modules-extra-}5.14.0-295.el9.x86_64.rpm && \ <3>
3737
rpm-ostree cleanup -m && \
3838
ostree container commit

0 commit comments

Comments
 (0)