Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def get_remote_mount():
- test_file = "/test.test"
- remote_mount = (subprocess.check_output(
- ['ssh', nas_server, 'grep enclosure /root/nas_manager/nas_manager_config | awk {\'print $3\'}']).decode(('utf-8')))
- print ((remote_mount) + (test_file))
- it returns this:
- /mnt/enclosure0/front/column0/drive4
- /test.test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement