Previous PR didn't backport correctly - fixed some syntax and opening new PR with proper backport (#931)

Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>

Signed-off-by: JeffH-AWS <jeffhuss@amazon.com>
This commit is contained in:
Jeff Huss 2022-08-19 14:50:22 -07:00 committed by GitHub
parent 9a6ffd1d1a
commit 7e5a84d3f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -29,12 +29,12 @@ The install command takes a plugin id, which may be any of the following:
- A URL to a plugin zip file - A URL to a plugin zip file
If you're installing an official OpenSearch plugin, use: If you're installing an official OpenSearch plugin, use:
``` ```bash
bin/opensearch-plugin install <plugin-name> bin/opensearch-plugin install <plugin-name>
``` ```
For a plugin installed via zip, use: For a plugin installed via zip, use:
``` ```bash
bin/opensearch-plugin install <name|Zip File|Url> bin/opensearch-plugin install <name|Zip File|Url>
``` ```
@ -45,13 +45,13 @@ Restart your OpenSearch node after installing a plugin.
When installing plugins that require additional privileges not included by default, the plugins will prompt the user for confirmation of the required privileges. To grant all requested privileges, use batch mode to skip the confirmation prompt. When installing plugins that require additional privileges not included by default, the plugins will prompt the user for confirmation of the required privileges. To grant all requested privileges, use batch mode to skip the confirmation prompt.
To force batch mode when installing plugins, add the `-b` or `--batch` option: To force batch mode when installing plugins, add the `-b` or `--batch` option:
``` ```bash
bin/opensearch-plugin install --batch <plugin-name> bin/opensearch-plugin install --batch <plugin-name>
``` ```
## Remove a plugin ## Remove a plugin
``` ```bash
bin/opensearch-plugin remove <plugin-name> bin/opensearch-plugin remove <plugin-name>
``` ```
Restart your OpenSearch node after removing a plugin. Restart your OpenSearch node after removing a plugin.
@ -60,7 +60,7 @@ Restart your OpenSearch node after removing a plugin.
To check which plugins are currently installed: To check which plugins are currently installed:
``` ```bash
bin/opensearch-plugin list bin/opensearch-plugin list
``` ```