Update Generated timestamp on both confg & src files

Otherwise /opt/so/conf/fleet/packages/index.html gets overwritten.
This commit is contained in:
Josh Brower
2019-04-27 08:17:54 -04:00
committed by GitHub
parent f8cb1d21ae
commit ff4c34b5fa

View File

@@ -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"