Update timestamp on packages webpage

This commit is contained in:
Josh Brower
2019-04-04 06:06:35 -04:00
committed by GitHub
parent d9b8bc08c2
commit b11668b601

View File

@@ -23,5 +23,8 @@ docker run \
--mount type=bind,source=/etc/pki/fleet-launcher.crt,target=/var/launcher/launcher.crt \
defensivedepth/hh-launcher "$esecret" "$1":8080
#Update timestamp on packages webpage
sed -i "s@.*Generated.*@Generated: $(date '+%m%d%Y')@g" /opt/so/conf/fleet/packages/index.html
echo "Fleet Setup Complete - Login here: https://$1"
echo "Your username is $2 and your password is $initpw"