changes to bootstrap

pull/20/head
Tiago Faria 2018-11-27 10:55:56 +00:00
parent c326ed9861
commit 4233821a06
1 changed files with 2 additions and 8 deletions

View File

@ -38,19 +38,14 @@ echo "--- Process started ... ---"
echo "--- Performing OS changes (branding) ... ---"
apt-get install -y update-motd > /dev/null 2>&1
cat > /etc/motd <<EOF
__ __ _____ _____ _____
| \/ |_ _|/ ____| __ \
| \ / | | | | (___ | |__) |
| |\/| | | | \___ \| ___/
| | | |_| |_ ____) | |
|_| |_|_____|_____/|_|
* MISP Project: https://github.com/MISP/MISP
* AMI Documentation: https://github.com/misp/misp-cloud
EOF
cat > /etc/update-motd.d/51-cloudguest <<EOF
@ -144,7 +139,6 @@ cat > /etc/apache2/sites-available/misp-ssl.conf <<EOF
ServerSignature Off
Header set X-Content-Type-Options nosniff
Header set X-Frame-Options DENY
SSLEngine On
SSLCertificateFile /etc/ssl/private/misp.local.crt
SSLCertificateKeyFile /etc/ssl/private/misp.local.key
@ -418,8 +412,8 @@ $CAKE Admin setSetting "MISP.block_old_event_alert" false > /dev/null
$CAKE Admin setSetting "MISP.block_old_event_alert_age" "" > /dev/null
$CAKE Admin setSetting "MISP.incoming_tags_disabled_by_default" false > /dev/null
$CAKE Admin setSetting "MISP.maintenance_message" "Great things are happening! MISP is undergoing maintenance, but will return shortly. You can contact the administration at \$email. " > /dev/null
$CAKE Admin setSetting "MISP.footermidleft" "This is an autogenerated VM" > /dev/null
$CAKE Admin setSetting "MISP.footermidright" "Please configure accordingly and do not use in production. 3fb8269" > /dev/null
$CAKE Admin setSetting "MISP.footermidleft" "This is an autogenerated AMI." > /dev/null
$CAKE Admin setSetting "MISP.footermidright" "https://github.com/MISP/misp-cloud/" > /dev/null
$CAKE Admin setSetting "MISP.welcome_text_top" "Production usage is considered harmful. Read: https://github.com/MISP/misp-cloud/wiki/MISP-and-Cloud-Security" > /dev/null
$CAKE Admin setSetting "MISP.download_attachments_on_load" true > /dev/null
$CAKE Admin setSetting "MISP.title_text" "MISP" > /dev/null