Update documentation to use enroll_secret_path (#2088)

Fixes #2002
This commit is contained in:
Zachary Wasserman 2019-08-01 16:20:22 -07:00 committed by GitHub
parent 1344653412
commit 3b50bf0a5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 \