]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rgw/lua: add info uploading a script in cephadm deployment 51422/head
authorYuval Lifshitz <yuvalif@yahoo.com>
Wed, 10 May 2023 09:43:45 +0000 (12:43 +0300)
committerYuval Lifshitz <yuvalif@yahoo.com>
Wed, 10 May 2023 10:37:26 +0000 (13:37 +0300)
Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
doc/radosgw/lua-scripting.rst

index 9f42f20c18fcac905047aa46d0083e6033a9534d..c85f72a6ed9d4aadf0cda436c3aba319e4c7ee40 100644 (file)
@@ -40,10 +40,15 @@ To upload a script:
 
 ::
    
-   # radosgw-admin script put --infile={lua-file} --context={prerequest|postrequest|background|getdata|putdata} [--tenant={tenant-name}]
+   # radosgw-admin script put --infile={lua-file-path} --context={prerequest|postrequest|background|getdata|putdata} [--tenant={tenant-name}]
 
 
-* When uploading a script with the ``background`` context, a tenant name may not be specified.
+* When uploading a script with the ``background`` context, a tenant name should not be specified.
+* When uploading a script into a cluster deployed with cephadm, use the following command:
+
+::
+
+  # cephadm shell radosgw-admin script put --infile=/rootfs/{lua-file-path} --context={prerequest|postrequest|background|getdata|putdata} [--tenant={tenant-name}]
 
 
 To print the content of the script to standard output: