https://github.com/codemation/rubrik-modify_share
https://github.com/codemation/rubrik-modify_share
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/codemation/rubrik-modify_share
- Owner: codemation
- Created: 2019-08-21T12:32:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-28T05:50:59.000Z (over 6 years ago)
- Last Synced: 2025-01-14T11:16:48.377Z (about 1 year ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rubrik-modify_share
Purpose: Provide a cli method of modifying a Rubrik NAS Share if the path needs to change
Steps Before Use:
1. Create an credentials file, containing 'username|pw'. Method: echo -n 'admin:abcd1234' > ~/special_cdm_auth
2. Update auth.cfg within Rubrik-modify_share package/folder with credential file location. Method echo -n '~/special_cdm_auth' > auth.cfg
Usage:
python modify_share.py
Example:
Using: HostShare:::318fd70b-85d3-4116-a575-22743b2709ec
python modify_share.py 10.35.36.165 318fd70b-85d3-4116-a575-22743b2709ec /new_share_path