Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-17053

Typo in modules/coreos-layering-configuring.adoc

XMLWordPrintable

    • No
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required

      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:

       

            rhn-support-bdaly Brendan Daly
            rhn-support-jdohmann Jesse Dohmann
            Rio Liu Rio Liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: