Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-6520

RH254-272, Lab: Providing File-based Storage - enhancement to "lab storageshares grade"

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Minor Minor
    • RH254 - RHEL 7 1 20150420
    • RH254 - RHEL 7 1 20140711
    • RH254
    • None
    • ITL - foundation0-rhce-7.0-1.r24927.x86_64 - tested on desktop0/server0

      URL:
      Reporter RHNID:
      Section: -
      Language:
      Workaround:

      Description: Lines 119 and 216 of /usr/local/bin/lab-storageshares should be modified so that students can reference desktopX either by name or IP address in /etc/exports or in a .exports file within /etc/exports.d/*.exports

      Line 119:
      elif ! (grep '/datashare' /etc/exports |grep 'desktop') &>/dev/null
      elif ! (grep '/datashare' /etc/exports

      {,.d/*.exports} |grep -e "desktop${X}" -e "172.25.${X}.10") &>/dev/null

      Line 216:
      elif ! (grep '/krbnfs' /etc/exports |grep 'desktop') &>/dev/null
      elif ! (grep '/krbnfs' /etc/exports{,.d/*.exports}

      |grep -e "desktop${X}" -e "172.25.${X}.10") &>/dev/null

              rht-rkastl Rudolf Kastl (Inactive)
              rht-miphilli Michael Phillips
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: