Fix NFS issues for Mac version Catalina and up

Description

  1.  

    1. Description
      Mac native NFS setup script is broken from Mac version Catalina and up. It is due to the change in the volume directory path.

This PR is backward compatible. All versions before Catalina will be using ``/Users`` and from Catalina ``/System/Volumes/Data`` will be used.

  1.  

    1. Supporting information
      There was an attempt to fix that issue via https://github.com/edx/devstack/pull/521. But that PR seems to be closed without merging.

  1.  

    1. Testing instructions
      1. Pull this PR in a Mac Catalina or Big Sur
      2. Try to setup NFS. It should work.
      3. Setting up NFS should work across all versions of Mac.

Done

Assignee

Unassigned

Reporter

Open Source Pull Request Bot

Labels

Contributor Name

Shimul Chowdhury

Repo

edx/devstack

Customer

Epic Link

None

OSCM Assignee

None

Platform Map Area (Levels 1 & 2)

None

Platform Map Area (Levels 3 & 4)

None

Blended Hour Utilization Percentage

None

edX Theme

None

edX Squad

None

Github Lines Added

10

Github Lines Deleted

1

Priority

Unset