mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Install osquery locally
This commit is contained in:
@@ -33,5 +33,12 @@ docker run \
|
|||||||
sed -i "s@.*Generated.*@Generated: $(date '+%m%d%Y')@g" /opt/so/conf/fleet/packages/index.html
|
sed -i "s@.*Generated.*@Generated: $(date '+%m%d%Y')@g" /opt/so/conf/fleet/packages/index.html
|
||||||
sed -i "s@.*Generated.*@Generated: $(date '+%m%d%Y')@g" /opt/so/saltstack/salt/fleet/osquery-packages.html
|
sed -i "s@.*Generated.*@Generated: $(date '+%m%d%Y')@g" /opt/so/saltstack/salt/fleet/osquery-packages.html
|
||||||
|
|
||||||
|
#Install osquery locally
|
||||||
|
if cat /etc/os-release | grep -q 'debian'; then
|
||||||
|
dpkg -i /opt/so/conf/fleet/packages/launcher.deb
|
||||||
|
else
|
||||||
|
rpm -i /opt/so/conf/fleet/packages/launcher.rpm
|
||||||
|
fi
|
||||||
|
|
||||||
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