@@ -37,19 +37,19 @@ Case 2: Write variables in the configuration file
"""""""""""""""""""""""""""""""""""""""""""""""""
Take note of these three variables in *app-credentials.sh*::
OS_REGION_NAME
OS_APPLICATION_CREDENTIAL_ID
OS_APPLICATION_CREDENTIAL_SECRET
OS_REGION_NAME
OS_APPLICATION_CREDENTIAL_ID
OS_APPLICATION_CREDENTIAL_SECRET
Add the following text to *rclone.conf*::
[garr-cloud]
type = swift
auth = https://keystone.cloud.garr.it:5000/v3/
auth_version = 3
region = <insert here the content of OS_REGION_NAME>
application_credential_id = <insert here the content of OS_APPLICATION_CREDENTIAL_ID>
application_credential_secret = <insert here the content of OS_APPLICATION_CREDENTIAL_SECRET>
[garr-cloud]
type = swift
auth = https://keystone.cloud.garr.it:5000/v3/
auth_version = 3
region = <insert here the content of OS_REGION_NAME>
application_credential_id = <insert here the content of OS_APPLICATION_CREDENTIAL_ID>
application_credential_secret = <insert here the content of OS_APPLICATION_CREDENTIAL_SECRET>
Mind that ``env_auth = true`` takes variables from environment, so you shouldn't insert it in this case.
...
...
@@ -121,3 +121,26 @@ The following command copies files from remote to a local directory, create it i
checkDir/subdir1:
total 4
-rw-rw-r-- 1 ubuntu ubuntu 459 Nov 13 15:32 file2.txt
Mounting object storage on local filesystem
-------------------------------------------
First, you need to create a directory on which you will mount your filesystem::
$ mkdir ~/mnt-rclone
Then you can simply mount your object storage with::
$ rclone --vfs-cache-mode writes mount garr-cloud: ~/mnt-rclone
``vfs-cache-mode`` flag enable file caching, you can use either ``writes`` or ``full`` option. For further explanation you can see official documentation at the link: