]> git.proxmox.com Git - ceph.git/blobdiff - ceph/doc/radosgw/lua-scripting.rst
update ceph source to reef 18.2.0
[ceph.git] / ceph / 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: