From f89d8f374b81a88a0b01ea85cc3d4536d4058a98 Mon Sep 17 00:00:00 2001 From: Zac Dover Date: Sun, 11 Feb 2024 00:43:05 +1000 Subject: [PATCH] doc/radosgw: Revert "doc/rgw/lua: add info uploading a ... script in cephadm deployment" This reverts commit b0c78748c05faed9c6032f490169741ad7fd6cf7. See https://github.com/ceph/ceph/pull/55524#issuecomment-1937022350. See https://tracker.ceph.com/issues/64327 Signed-off-by: Zac Dover --- doc/radosgw/lua-scripting.rst | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/doc/radosgw/lua-scripting.rst b/doc/radosgw/lua-scripting.rst index 9e72428ad21f4..33b5e7e938c06 100644 --- a/doc/radosgw/lua-scripting.rst +++ b/doc/radosgw/lua-scripting.rst @@ -30,15 +30,7 @@ To upload a script: :: - # 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 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}] + # radosgw-admin script put --infile={lua-file} --context={preRequest|postRequest} [--tenant={tenant-name}] To print the content of the script to standard output: -- 2.39.5