Update 00-Learn-how-to-use-Fleet.md (#2393)

Update to enroll device command to remove line-break.
This commit is contained in:
Mike Thomas 2021-10-07 23:43:02 +09:00 committed by GitHub
parent 14ac341b30
commit f4c6c8e534
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,8 +93,7 @@ To add your own device to Fleet, you'll first need to install the osquery agent.
2. With [fleetctl preview](http://fleetdm.com/get-started) still running, run the following command (remembering to swap ```YOUR_FLEET_ENROLL_SECRET_HERE``` for the one you copied in the previous step):
```
fleetctl package --type=pkg --fleet-url=https://localhost:8412
--enroll-secret=YOUR_FLEET_ENROLL_SECRET_HERE
fleetctl package --type=pkg --fleet-url=https://localhost:8412 --enroll-secret=YOUR_FLEET_ENROLL_SECRET_HERE
```
> If you'd like to build a Windows package, set `--type=msi` in the above command. If you'd like to build a Linux package, set `--type=deb` (Debian, Ubuntu, etc.) or `--type=rpm` (RHEL, CentOS, etc.) in the above command.