Skip to content

Commit 52d1846

Browse files
authored
Merge pull request #892 from xx4h/fix-velociraptor-startup
Fix velociraptor startup
2 parents a6dda41 + 78edf91 commit 52d1846

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Vagrant/logger_bootstrap.sh

+2
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,8 @@ install_velociraptor() {
477477
cp /vagrant/resources/velociraptor/server.config.yaml /opt/velociraptor
478478
echo "[$(date +%H:%M:%S)]: Creating Velociraptor dpkg..."
479479
./velociraptor --config /opt/velociraptor/server.config.yaml debian server
480+
echo "[$(date +%H:%M:%S)]: Cleanup velociraptor package building leftovers..."
481+
rm -rf /opt/velociraptor/logs
480482
echo "[$(date +%H:%M:%S)]: Installing the dpkg..."
481483
if dpkg -i velociraptor_*_server.deb >/dev/null; then
482484
echo "[$(date +%H:%M:%S)]: Installation complete!"

0 commit comments

Comments
 (0)