diff --git a/misp.json b/misp.json index 8b8eb65..ed1b57a 100644 --- a/misp.json +++ b/misp.json @@ -55,7 +55,7 @@ [ "--manifest", "--vsys", "0", - " --eulafile", "/tmp/LICENSE-misp", + "--eulafile", "/tmp/LICENSE-misp", "--description", "{{user `vm_description`}}", "--version", "{{user `vm_version`}}" ], diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index d14a6cb..faf8515 100644 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -642,14 +642,14 @@ sed -i -e '$i \echo never > /sys/kernel/mm/transparent_hugepage/enabled\n' /etc/ sed -i -e '$i \echo 1024 > /proc/sys/net/core/somaxconn\n' /etc/rc.local sed -i -e '$i \sysctl vm.overcommit_memory=1\n' /etc/rc.local sed -i -e '$i \sudo -u www-data bash /var/www/MISP/app/Console/worker/start.sh > /tmp/worker_start_rc.local.log\n' /etc/rc.local -sed -i -e '$i \sudo -u www-data misp-modules -l 0.0.0.0 -s > /tmp/misp-modules_rc.local.log 2> /dev/null &\n' /etc/rc.local -sed -i -e '$i \sudo -u www-data bash /var/www/misp-dashboard/start_all.sh > /tmp/misp-dashboard_rc.local.log\n' /etc/rc.local -sed -i -e '$i \sudo -u misp /usr/local/src/viper/viper-web -p 8888 -H 0.0.0.0 > /tmp/viper-web_rc.local.log &\n' /etc/rc.local sed -i -e '$i \git_dirs="/usr/local/src/misp-modules/ /var/www/misp-dashboard /usr/local/src/faup /usr/local/src/mail_to_misp /usr/local/src/misp-modules /usr/local/src/viper /var/www/misp-dashboard"\n' /etc/rc.local sed -i -e '$i \for d in $git_dirs; do\n' /etc/rc.local sed -i -e '$i \ echo "Updating ${d}" >> /tmp/git-update_rc.local.log\n' /etc/rc.local sed -i -e '$i \ cd $d && sudo git pull >> /tmp/git-update_rc.local.log &\n' /etc/rc.local sed -i -e '$i \done\n' /etc/rc.local +sed -i -e '$i \sudo -u www-data misp-modules -l 0.0.0.0 -s > /tmp/misp-modules_rc.local.log 2> /dev/null &\n' /etc/rc.local +sed -i -e '$i \sudo -u www-data bash /var/www/misp-dashboard/start_all.sh > /tmp/misp-dashboard_rc.local.log\n' /etc/rc.local +sed -i -e '$i \sudo -u misp /usr/local/src/viper/viper-web -p 8888 -H 0.0.0.0 > /tmp/viper-web_rc.local.log &\n' /etc/rc.local echo "--- Installing MISP modules… ---"