From 5ca04676797c996f38177c38d86405fac778e916 Mon Sep 17 00:00:00 2001 From: Fulvio Galeazzi <fulvio.galeazzi@garr.it> Date: Thu, 14 Nov 2019 10:27:17 +0100 Subject: [PATCH] 2019-11-14: DP; Updated rclone instructions. --- .../kb/openstack/rclone_quick_tutorial.rst | 36 ++++++------------- 1 file changed, 11 insertions(+), 25 deletions(-) diff --git a/web/support/kb/openstack/rclone_quick_tutorial.rst b/web/support/kb/openstack/rclone_quick_tutorial.rst index da0951f1..ec01c2f4 100644 --- a/web/support/kb/openstack/rclone_quick_tutorial.rst +++ b/web/support/kb/openstack/rclone_quick_tutorial.rst @@ -1,5 +1,5 @@ -Rclone quick tutorial -===================== +Rclone quick tutorial: interaction with object storage +====================================================== Installing and configuring @@ -13,28 +13,15 @@ Then edit the Rclone configuration file:: $ nano .rclone.conf -to look like this: - -.. code-block:: +to look like this:: [garr-cloud] type = swift env_auth = true - -Access with password -^^^^^^^^^^^^^^^^^^^^ - -Download rc file v3 from openstack dashboard as **openstack-credential.sh** - -.. figure:: ../../images/rc_file.png - :scale: 60% - -Then execute the content of the file:: - $ source openstack-credential.sh -Access with application credential -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Download OpenStack credentials +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Create and download an application credential from openstack dashboard as **app-credentials.sh** @@ -43,12 +30,15 @@ Then execute the content of the file:: $ source app-credentials.sh -Check the functionalities -^^^^^^^^^^^^^^^^^^^^^^^^^ +Check configuration +^^^^^^^^^^^^^^^^^^^ -Now, in both cases, you can verify the functionalities with:: +Now you can verify your configuration with:: $ rclone lsd garr-cloud: + $ echo $? + +The command above will most probably return no output, but the exit code should be 'zero'. Copy files and directories to cloud ----------------------------------- @@ -108,7 +98,3 @@ 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 - - - - \ No newline at end of file -- GitLab