-
Bug
-
Resolution: Done
-
Undefined
-
None
-
4.12
-
Quality / Stability / Reliability
-
False
-
-
None
-
None
-
No
-
None
-
None
-
None
-
None
-
None
-
Release Note Not Required
-
N/A
-
None
-
None
-
None
-
None
Description of problem:
There is a minor typo omission in the code configuration example. the line that contains the command with `cliwrap` needs a `&&` at the end:
```
# Using a 4.12.0 image
FROM quay.io/openshift-release/ocp-release@sha256...
#Install hotfix rpm
RUN rpm-ostree cliwrap install-to-root / \
rpm-ostree override replace http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/Packages/kernel-{,core-,modules-,modules-extra-}4.18.0-483.el8.x86_64.rpm && \
rpm-ostree cleanup -m && \
ostree container commit
```
so the fix would look like:
```
# Using a 4.12.0 image
FROM quay.io/openshift-release/ocp-release@sha256...
#Install hotfix rpm
RUN rpm-ostree cliwrap install-to-root / && \
rpm-ostree override replace http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/Packages/kernel-{,core-,modules-,modules-extra-}4.18.0-483.el8.x86_64.rpm && \
rpm-ostree cleanup -m && \
ostree container commit
```
Version-Release number of selected component (if applicable):
4.12
How reproducible:
Steps to Reproduce:
1. 2. 3.
Actual results:
Expected results:
Additional info:
- is duplicated by
-
OCPBUGS-30895 OpenShift 4.12 docs for Applying a RHCOS custom layered image containing non-working Containerfile
-
- Closed
-