From 3b50bf0a5f79371a712ab4985cbd28725c66d026 Mon Sep 17 00:00:00 2001 From: Zachary Wasserman Date: Thu, 1 Aug 2019 16:20:22 -0700 Subject: [PATCH] Update documentation to use enroll_secret_path (#2088) Fixes #2002 --- docs/infrastructure/adding-hosts-to-fleet.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/infrastructure/adding-hosts-to-fleet.md b/docs/infrastructure/adding-hosts-to-fleet.md index caa45fdaef..dfef459065 100644 --- a/docs/infrastructure/adding-hosts-to-fleet.md +++ b/docs/infrastructure/adding-hosts-to-fleet.md @@ -82,11 +82,11 @@ Specify the path to this certificate with the `--tls_server_certs` flag when you ## Launching osqueryd -Assuming that you are deploying your enrollment secret as the environment variable `OSQUERY_ENROLL_SECRET` and your osquery server certificate is at `/etc/osquery/kolide.crt`, you could copy and paste the following command with the following flags (be sure to replace kolide.acme.net with the hostname or IP of your Fleet installation): +Assuming that you are deploying your enrollment secret in the file `/etc/osquery/enroll_secret` and your osquery server certificate is at `/etc/osquery/kolide.crt`, you could copy and paste the following command with the following flags (be sure to replace `kolide.acme.net` with the hostname or IP of your Fleet installation): ``` sudo osqueryd \ - --enroll_secret_env=OSQUERY_ENROLL_SECRET \ + --enroll_secret_path=/etc/osquery/enroll_secret \ --tls_server_certs=/etc/osquery/kolide.crt \ --tls_hostname=kolide.acme.net \ --host_identifier=uuid \