mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 00:49:03 +00:00
| .. | ||
| main.go | ||
| README.md | ||
appmanifest
appmanifest is a tool that outputs to stdout a valid XML manifest that can be used by the MDM InstallEnterpriseApplication command to install a package.
$ go run tools/mdm/apple/appmanifest/main.go --help
Usage of appmanifest:
-pkg-file string
Path to a .pkg file
-pkg-url string
URL where the package will be served
Example workflow
- Create a fleetd installer
fleetctl package --type=pkg --fleet-desktop
- Sign the installer so it can be installed via MDM
productsign --sign "Developer ID Installer: $DEVID_INFO" fleet-osquery.pkg fleetd-base.pkg
- Run
appmanifest
$ go run tools/mdm/apple/appmanifest/main.go \
-pkg-file fleetd-base.pkg \
-pkg-url $YOUR_URL > fleetd-base-manifest.plist
- Upload
fleetd-base.pkgto$YOUR_URLandfleetd-base-manifest.plistto a publicly accessible location.