Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-20702

Documentation: bash commands for importing of images are wrong

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.4.0.GA
    • None
    • Documentation
    • None
    • EAP DOC Sprint 7:Mar29 - Apr 9, EAP DOC Sprint 8:April 12 - 23

      Documentation: bash commands for importing of images are wrong

      "Import the Latest JBoss EAP for OpenShift Imagestreams and Templates" chapter in "Getting Started with JBoss EAP for OpenShift Online" guide contains wrong bash commands. There are three commands like this:

      for resource in \
        eap73-amq-persistent-s2i.json \
        eap73-amq-s2i.json \
        eap73-basic-s2i.json \
        eap73-https-s2i.json \
        eap73-image-stream.json \
        eap73-sso-s2i.json \
        eap73-starter-s2i.json \
      do
        oc replace --force -f \
      https://raw.githubusercontent.com/jboss-container-images/jboss-eap-7-openshift-image/eap73/templates/${resource}
      done
      

      But last "\" character in "for" part is wrong. Correct commands:

      for resource in \
        eap73-amq-persistent-s2i.json \
        eap73-amq-s2i.json \
        eap73-basic-s2i.json \
        eap73-https-s2i.json \
        eap73-image-stream.json \
        eap73-sso-s2i.json \
        eap73-starter-s2i.json
      do
        oc replace --force -f \
      https://raw.githubusercontent.com/jboss-container-images/jboss-eap-7-openshift-image/eap73/templates/${resource}
      done
      

      This issue is not valid for "Getting Started with JBoss EAP for OpenShift Container Platform" guide.

              snelluli@redhat.com Sreelatha Nelluli
              mkopecky@redhat.com Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: