mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
update so-fleet-setup.sh for new hh-launcher docker
This commit is contained in:
@@ -16,12 +16,12 @@ esecret=$(sudo docker exec so-fleet fleetctl get enroll-secret)
|
|||||||
cat /etc/pki/fleet.crt /etc/pki/ca.crt > /etc/pki/fleet-launcher.crt
|
cat /etc/pki/fleet.crt /etc/pki/ca.crt > /etc/pki/fleet-launcher.crt
|
||||||
|
|
||||||
#Create the output directory
|
#Create the output directory
|
||||||
mkdir /opt/so/osquery
|
mkdir /opt/so/conf/fleet/packages
|
||||||
|
|
||||||
docker run \
|
docker run \
|
||||||
--mount type=bind,source=/opt/so/osquery,target=/output \
|
--mount type=bind,source=/opt/so/conf/fleet/packages,target=/output \
|
||||||
--mount type=bind,source=/etc/pki/fleet-launcher.crt,target=/var/launcher/fleet-launcher.crt \
|
--mount type=bind,source=/etc/pki/fleet-launcher.crt,target=/var/launcher/launcher.crt \
|
||||||
defensivedepth/soq-launcher "$esecret" "$1"
|
defensivedepth/hh-launcher "$esecret" "$1":8080
|
||||||
|
|
||||||
echo "Fleet Setup Complete - Login here: https://$1"
|
echo "Fleet Setup Complete - Login here: https://$1"
|
||||||
echo "Your username is $2 and your password is $initpw"
|
echo "Your username is $2 and your password is $initpw"
|
||||||
|
|||||||
Reference in New Issue
Block a user