diff --git a/docs/en/ingest-management/commands.asciidoc b/docs/en/ingest-management/commands.asciidoc index c03bd2ece2..a22a148951 100644 --- a/docs/en/ingest-management/commands.asciidoc +++ b/docs/en/ingest-management/commands.asciidoc @@ -168,6 +168,7 @@ elastic-agent enroll --url [--certificate-authorities ] [--delay-enroll] [--force] + [--non-interactive] [--help] [--insecure ] [--tag ] @@ -193,6 +194,7 @@ elastic-agent enroll --fleet-server-es [--fleet-server-policy ] [--fleet-server-port ] [--force] + [--non-interactive] [--help] [--tag ] [--url ] <3> @@ -282,6 +284,14 @@ Service token to use for communication with {es}. Force overwrite of current configuration without prompting for confirmation. This flag is helpful when using automation software or scripted deployments. +Note: if the {agent} is already installed on the host, using --force may result in +unpredictable behaviour with duplicate {agent}s appearing in {fleet} + +`--non-interactive`:: +Install {agent} in a non-interactive mode. This flag is helpful when +using automation software or scripted deployments. If {agent} is +already installed on the host, the installation will terminate. + `--help`:: Show help for the `enroll` command.