diff --git a/Vagrantfile b/Vagrantfile index 194e1c49b..952d57157 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -54,11 +54,5 @@ an invalid SSL certificate). path: "vagrant-scripts/plinth-user-permissions.py" } end - config.trigger.before :destroy do |trigger| - trigger.warn = "Performing cleanup steps" - trigger.run = { - path: "vagrant-scripts/post-box-destroy.py" - } - end config.vm.boot_timeout=1200 end diff --git a/vagrant-scripts/post-box-destroy.py b/vagrant-scripts/post-box-destroy.py deleted file mode 100755 index ada4c2946..000000000 --- a/vagrant-scripts/post-box-destroy.py +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/python3 -# -*- mode: python -*- -# SPDX-License-Identifier: AGPL-3.0-or-later -""" -Cleanup actions to be run when a vagrant box is destroyed. -""" - -import os - -# Drop Plinth database -try: - os.remove('data/var/lib/plinth/plinth.sqlite3') -except OSError: - pass