Fleet Module - Add post install scripts

This commit is contained in:
Mike Reeves
2019-01-24 10:55:15 -05:00
parent ff900d1dc6
commit 6ecdfaca86
3 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
#!/bin/sh
echo "Applying Post Configuration for Osquery"
fleetctl apply -f /packs/hh/osquery.conf
fleetctl apply -f /packs/hh/hhdefault/yml
fleetctl apply -f /packs/palantir/Fleet/Endpoints/options.yaml
fleetctl apply -f /packs/palantir/Fleet/Endpoints/MacOS/osquery.yaml
fleetctl apply -f /packs/palantir/Fleet/Endpoints/Windows/osquery.yaml
for pack in /packs/palantir/Fleet/Endpoints/packs/*.yaml;
do fleetctl apply -f "$pack"
done
echo ""
echo "You can now exit the container by typing exit"