mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Update Generated timestamp on both confg & src files
Otherwise /opt/so/conf/fleet/packages/index.html gets overwritten.
This commit is contained in:
@@ -30,6 +30,7 @@ docker run \
|
|||||||
|
|
||||||
#Update timestamp on packages webpage
|
#Update timestamp on packages webpage
|
||||||
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
|
||||||
|
|
||||||
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